Moodle  2.2.1
http://www.collinsharper.com
Zend_Server_Method_Callback Class Reference

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')

Detailed Description

Definition at line 32 of file Callback.php.


Constructor & Destructor Documentation

__construct ( options = null)

Constructor

Parameters:
null | array$options
Returns:
void

Definition at line 65 of file Callback.php.

Here is the call graph for this function:


Member Function Documentation

getClass ( )

Get callback class

Returns:
string|null

Definition at line 109 of file Callback.php.

Here is the caller graph for this function:

Get callback function

Returns:
null|string

Definition at line 132 of file Callback.php.

Here is the caller graph for this function:

getMethod ( )

Get callback class method

Returns:
null|string

Definition at line 154 of file Callback.php.

Here is the caller graph for this function:

getType ( )

Get callback type

Returns:
string

Definition at line 181 of file Callback.php.

Here is the caller graph for this function:

setClass ( class)

Set callback class

Parameters:
string$class
Returns:
Zend_Server_Method_Callback

Definition at line 95 of file Callback.php.

setFunction ( function)

Set callback function

Parameters:
string$function
Returns:
Zend_Server_Method_Callback

Definition at line 120 of file Callback.php.

Here is the call graph for this function:

setMethod ( method)

Set callback class method

Parameters:
string$method
Returns:
Zend_Server_Method_Callback

Definition at line 143 of file Callback.php.

setOptions ( array options)

Set object state from array of options

Parameters:
array$options
Returns:
Zend_Server_Method_Callback

Definition at line 78 of file Callback.php.

Here is the caller graph for this function:

setType ( type)

Set callback type

Parameters:
string$type
Returns:
Zend_Server_Method_Callback
Exceptions:
Zend_Server_Exception

Definition at line 166 of file Callback.php.

Here is the caller graph for this function:

toArray ( )

Cast callback to array

Returns:
array

Definition at line 191 of file Callback.php.

Here is the call graph for this function:


Field Documentation

$_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.

$_types = array('function', 'static', 'instance') [protected]

Definition at line 57 of file Callback.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations