Class Handler
A base class for REST-based handlers
Direct known subclasses
triagens\ArangoDb\AdminHandler
,
triagens\ArangoDb\CollectionHandler
,
triagens\ArangoDb\DocumentHandler
,
triagens\ArangoDb\GraphHandler
,
triagens\ArangoDb\QueryCacheHandler
,
triagens\ArangoDb\QueryHandler
,
triagens\ArangoDb\UserHandler
Indirect known subclasses
triagens\ArangoDb\EdgeHandler
,
triagens\ArangoDb\VertexHandler
Methods summary
public
|
|
protected
|
|
protected
mixed
|
#
getConnectionOption( $optionName )
Return a connection option This is a convenience function that calls json_encode_wrapper on the connection |
protected
string
|
#
json_encode_wrapper( array $body )
Return a json encoded string for the array passed. This is a convenience function that calls json_encode_wrapper on the connection |
protected
array
|
#
includeOptionsInParams( array $options, array $includeArray = [] )
Helper function that runs through the options given and includes them into the parameters array given. 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 form of url parameters (like 'waitForSync', 'keepNull', etc...) . |
protected
array
|
#
includeOptionsInBody( array $options, array $body, array $includeArray = [] )
Helper function that runs through the options given and includes them into the parameters array given. 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...) . |
protected
string
|