|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($options=null) | |
| setOptions (array $options) | |
| setClass ($class) | |
| getClass () | |
| setFunction ($function) | |
| getFunction () | |
| setMethod ($method) | |
| getMethod () | |
| setType ($type) | |
| getType () | |
| toArray () | |
Protected Attributes | |
| $_class | |
| $_function | |
| $_method | |
| $_type | |
| $_types = array('function', 'static', 'instance') | |
Definition at line 32 of file Callback.php.
| __construct | ( | $ | options = null | ) |
Constructor
| null | array | $options |
Definition at line 65 of file Callback.php.

| getClass | ( | ) |
Get callback class
Definition at line 109 of file Callback.php.

| getFunction | ( | ) |
Get callback function
Definition at line 132 of file Callback.php.

| getMethod | ( | ) |
Get callback class method
Definition at line 154 of file Callback.php.

| getType | ( | ) |
Get callback type
Definition at line 181 of file Callback.php.

| setClass | ( | $ | class | ) |
Set callback class
| string | $class |
Definition at line 95 of file Callback.php.
| setFunction | ( | $ | function | ) |
Set callback function
| string | $function |
Definition at line 120 of file Callback.php.

| setMethod | ( | $ | method | ) |
Set callback class method
| string | $method |
Definition at line 143 of file Callback.php.
| setOptions | ( | array $ | options | ) |
Set object state from array of options
| array | $options |
Definition at line 78 of file Callback.php.

| setType | ( | $ | type | ) |
Set callback type
| string | $type |
| Zend_Server_Exception |
Definition at line 166 of file Callback.php.

| toArray | ( | ) |
Cast callback to array
Definition at line 191 of file Callback.php.

$_class [protected] |
Definition at line 37 of file Callback.php.
$_function [protected] |
Definition at line 42 of file Callback.php.
$_method [protected] |
Definition at line 47 of file Callback.php.
$_type [protected] |
Definition at line 52 of file Callback.php.
Definition at line 57 of file Callback.php.