Class AqlUserFunction
Provides management of user-functions
AqlUserFunction object
An AqlUserFunction is an object that is used to manage AQL User Functions.
It registers, un-registers and lists user functions on the server
The object encapsulates:
- the name of the function
- the actual javascript function
The object requires the connection object and can be initialized
with or without initial configuration.
Any configuration can be set and retrieved by the object's methods like this:
$this->setName('myFunctions:myFunction');<br> $this->setCode('function (){your code};');
or like this:
$this->name('myFunctions:myFunction');<br> $this->code('function (){your code};');
Methods summary
public
|
#
__construct(
Initialise the AqlUserFunction object |
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
protected
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
mixed
|
|
public
string
|
|
public
|
Constants summary
string |
ENTRY_NAME
Collections index |
#
'name'
|
string |
ENTRY_CODE
Action index |
#
'code'
|
Properties summary
protected
array
|
$attributes
The transaction's attributes. |
#
[]
|
protected
string
|
$_action
The transaction's action. |
#
''
|