category |
Zend |
package |
Zend_Server |
subpackage |
Method |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
Methods
Constructor
__construct(null|array $options = null
) : void
Parameters
$options
null
array
Get callback class
getClass() : string | null
Get callback function
getFunction() : null | string
Get callback class method
getMethod() : null | string
Get callback type
getType() : string
Set callback class
setClass(string $class) : \Zend_Server_Method_Callback
Parameters
$class
string
Returns
\Zend_Server_Method_Callback
Set callback function
setFunction(string $function) : \Zend_Server_Method_Callback
Parameters
$function
string
Returns
\Zend_Server_Method_Callback
Set callback class method
setMethod(string $method) : \Zend_Server_Method_Callback
Parameters
$method
string
Returns
\Zend_Server_Method_Callback
Set object state from array of options
setOptions(array $options) : \Zend_Server_Method_Callback
Parameters
$options
array
Returns
\Zend_Server_Method_Callback
Set callback type
setType(string $type) : \Zend_Server_Method_Callback
Parameters
$type
string
Exceptions
Returns
\Zend_Server_Method_Callback
Cast callback to array
toArray() : array
Properties
Class name for class method callback
$_class : string
Function name for function callback
$_function : string
Method name for class method callback
$_method : string
Callback type
$_type : string
Valid callback types
$_types : array
Default
array('function', 'static', 'instance')