Server/Method/Definition.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: Definition.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Server_Method_Definition
Method definition 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) : voidConstructor
| Name | Type | Description |
|---|---|---|
| $options | null | array |

addPrototype(array | \Zend_Server_Method_Prototype $prototype) : \Zend_Server_Method_DefinitionAdd prototype to method definition
| Name | Type | Description |
|---|---|---|
| $prototype | array | \Zend_Server_Method_Prototype |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

addPrototypes(array $prototypes) : \Zend_Server_Method_DefinitionAdd multiple prototypes at once
| Name | Type | Description |
|---|---|---|
| $prototypes | array | Array of Zend_Server_Method_Prototype objects or arrays |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

getCallback() : \Zend_Server_Method_CallbackGet method callback
| Type | Description |
|---|---|
| \Zend_Server_Method_Callback |

getObject() : null | objectGet object to use with method calls
| Type | Description |
|---|---|
| null | object |

getPrototypes() : arrayGet all prototypes
| Type | Description |
|---|---|
| array | $prototypes Array of Zend_Server_Method_Prototype objects or arrays |

setCallback(array | \Zend_Server_Method_Callback $callback) : \Zend_Server_Method_DefinitionSet method callback
| Name | Type | Description |
|---|---|---|
| $callback | array | \Zend_Server_Method_Callback |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setInvokeArguments(array $invokeArguments) : \Zend_Server_Method_DefinitionSet invoke arguments
| Name | Type | Description |
|---|---|---|
| $invokeArguments | array |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setMethodHelp(string $methodHelp) : \Zend_Server_Method_DefinitionSet method help
| Name | Type | Description |
|---|---|---|
| $methodHelp | string |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setName(string $name) : \Zend_Server_Method_DefinitionSet method name
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setObject(object $object) : \Zend_Server_Method_DefinitionSet object to use with method calls
| Name | Type | Description |
|---|---|---|
| $object | object |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setOptions(array $options) : \Zend_Server_Method_DefinitionSet object state from options
| Name | Type | Description |
|---|---|---|
| $options | array |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |

setPrototypes(array $prototypes) : \Zend_Server_Method_DefinitionSet all prototypes at once (overwrites)
| Name | Type | Description |
|---|---|---|
| $prototypes | array | Array of Zend_Server_Method_Prototype objects or arrays |
| Type | Description |
|---|---|
| \Zend_Server_Method_Definition |