Server/Method/Callback.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Server
- Subpackage
- Method
- Version
- $Id: Callback.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Server_Method_Callback
Package: Zend\Server\Method
Method callback metadata
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(null | array $options = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$options | null | array |


setClass(string $class) : \Zend_Server_Method_Callback
Set callback class
Parameters
Returns
Name | Type | Description |
---|---|---|
$class | string |
Type | Description |
---|---|
\Zend_Server_Method_Callback |


setFunction(string $function) : \Zend_Server_Method_Callback
Set callback function
Parameters
Returns
Name | Type | Description |
---|---|---|
$function | string |
Type | Description |
---|---|
\Zend_Server_Method_Callback |


setMethod(string $method) : \Zend_Server_Method_Callback
Set callback class method
Parameters
Returns
Name | Type | Description |
---|---|---|
$method | string |
Type | Description |
---|---|
\Zend_Server_Method_Callback |


setOptions(array $options) : \Zend_Server_Method_Callback
Set object state from array of options
Parameters
Returns
Name | Type | Description |
---|---|---|
$options | array |
Type | Description |
---|---|
\Zend_Server_Method_Callback |


setType(string $type) : \Zend_Server_Method_Callback
Set callback type
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$type | string |
Type | Description |
---|---|
\Zend_Server_Method_Callback |
Exception | Description |
---|---|
\Zend_Server_Exception |