A class for uploading Foxx application zips to a database
package | ArangoDBClient |
---|---|
since | 3.1 |
inherited_from | \ArangoDBClient\Handler |
__construct(\ArangoDBClient\Connection $connection)
\ArangoDBClient\Connection
installFoxxZip(string $localZip, string $mountPoint, array $options = array()
) : array
SuppressWarnings | (PHPMD.UnusedFormalParameter) |
---|
string
string
array
\ArangoDBClient\ClientException |
---|
array
- the server responseremoveFoxxApp(string $mountPoint, array $options = array()
) : array
SuppressWarnings | (PHPMD.UnusedFormalParameter) |
---|
string
array
\ArangoDBClient\ClientException |
---|
array
- the server responsesetDocumentClass(string $class) : \ArangoDBClient\DocumentClassable
string
Document class to use
\ArangoDBClient\DocumentClassable
setEdgeClass(string $class) : \ArangoDBClient\DocumentClassable
string
Edge class to use
\ArangoDBClient\DocumentClassable
addTransactionHeader(array $headers, mixed $collection)
array
mixed
getConnection() : \ArangoDBClient\Connection
\ArangoDBClient\Connection
- the connection objectgetConnectionOption($optionName) : mixed
\ArangoDBClient\ClientException |
---|
mixed
- the option's valueincludeOptionsInBody(array $options, array $body, array $includeArray = array()
) : array
Only options that are set in $includeArray will be included. This is only for options that are to be sent to the ArangoDB server in a json body(like 'limit', 'skip', etc...) .
array
array
array
array
$params - array of parameters for use in a urljson_encode_wrapper(array $body) : string
This is a convenience function that calls json_encode_wrapper on the connection
array
\ArangoDBClient\ClientException |
---|
string
- json string of the body that was passedmakeCollection(mixed $value) : string
mixed
\ArangoDBClient\ClientException |
---|
string
- collection name$_documentClass : string
'\ArangoDBClient\Document'
$_edgeClass : string
'\ArangoDBClient\Edge'
$_connection
param |
---|