|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($options=null) | |
| setOptions (array $options) | |
| setName ($name) | |
| getName () | |
| setCallback ($callback) | |
| getCallback () | |
| addPrototype ($prototype) | |
| addPrototypes (array $prototypes) | |
| setPrototypes (array $prototypes) | |
| getPrototypes () | |
| setMethodHelp ($methodHelp) | |
| getMethodHelp () | |
| setObject ($object) | |
| getObject () | |
| setInvokeArguments (array $invokeArguments) | |
| getInvokeArguments () | |
| toArray () | |
Protected Attributes | |
| $_callback | |
| $_invokeArguments = array() | |
| $_methodHelp = '' | |
| $_name | |
| $_object | |
| $_prototypes = array() | |
Definition at line 32 of file Definition.php.
| __construct | ( | $ | options = null | ) |
Constructor
| null | array | $options |
Definition at line 70 of file Definition.php.

| addPrototype | ( | $ | prototype | ) |
Add prototype to method definition
| array | Zend_Server_Method_Prototype | $prototype |
Definition at line 151 of file Definition.php.

| addPrototypes | ( | array $ | prototypes | ) |
Add multiple prototypes at once
| array | $prototypes | Array of Zend_Server_Method_Prototype objects or arrays |
Definition at line 170 of file Definition.php.


| getCallback | ( | ) |
Get method callback
Definition at line 140 of file Definition.php.

Retrieve invoke arguments
Definition at line 266 of file Definition.php.

| getMethodHelp | ( | ) |
Get method help
Definition at line 218 of file Definition.php.

| getName | ( | ) |
Get method name
Definition at line 111 of file Definition.php.

| getObject | ( | ) |
Get object to use with method calls
Definition at line 244 of file Definition.php.

| getPrototypes | ( | ) |
Get all prototypes
Definition at line 196 of file Definition.php.

| setCallback | ( | $ | callback | ) |
Set method callback
| array | Zend_Server_Method_Callback | $callback |
Definition at line 122 of file Definition.php.
| setInvokeArguments | ( | array $ | invokeArguments | ) |
Set invoke arguments
| array | $invokeArguments |
Definition at line 255 of file Definition.php.
| setMethodHelp | ( | $ | methodHelp | ) |
Set method help
| string | $methodHelp |
Definition at line 207 of file Definition.php.
| setName | ( | $ | name | ) |
Set method name
| string | $name |
Definition at line 100 of file Definition.php.
| setObject | ( | $ | object | ) |
Set object to use with method calls
| object | $object |
Definition at line 229 of file Definition.php.
| setOptions | ( | array $ | options | ) |
Set object state from options
| array | $options |
Definition at line 83 of file Definition.php.

| setPrototypes | ( | array $ | prototypes | ) |
Set all prototypes at once (overwrites)
| array | $prototypes | Array of Zend_Server_Method_Prototype objects or arrays |
Definition at line 184 of file Definition.php.

| toArray | ( | ) |
Serialize to array
Definition at line 276 of file Definition.php.

$_callback [protected] |
Definition at line 37 of file Definition.php.
$_invokeArguments = array() [protected] |
Definition at line 42 of file Definition.php.
$_methodHelp = '' [protected] |
Definition at line 47 of file Definition.php.
$_name [protected] |
Definition at line 52 of file Definition.php.
$_object [protected] |
Definition at line 57 of file Definition.php.
$_prototypes = array() [protected] |
Definition at line 62 of file Definition.php.