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 license@zend.com so we can send you a copy immediately.
Method definition metadata
Zend_Server_Method_Callback $_callback = ''
array $_invokeArguments = 'array'
string $_methodHelp = ''
string $_name = ''
null|object $_object = ''
array $_prototypes = 'array'
__construct(
null|array $options
=
null
)
:
void
Constructor
addPrototype(
array|Zend_Server_Method_Prototype $prototype
)
:
Zend_Server_Method_Definition
Add prototype to method definition
addPrototypes(
array $prototypes
)
:
Zend_Server_Method_Definition
Add multiple prototypes at once
getCallback(
)
:
Zend_Server_Method_Callback
Get method callback
getInvokeArguments(
)
:
array
Retrieve invoke arguments
getMethodHelp(
)
:
string
Get method help
getName(
)
:
string
Get method name
getObject(
)
:
null|object
Get object to use with method calls
getPrototypes(
)
:
array
Get all prototypes
setCallback(
array|Zend_Server_Method_Callback $callback
)
:
Zend_Server_Method_Definition
Set method callback
setInvokeArguments(
array $invokeArguments
)
:
Zend_Server_Method_Definition
Set invoke arguments
setMethodHelp(
string $methodHelp
)
:
Zend_Server_Method_Definition
Set method help
setName(
string $name
)
:
Zend_Server_Method_Definition
Set method name
setObject(
object $object
)
:
Zend_Server_Method_Definition
Set object to use with method calls
setOptions(
array $options
)
:
Zend_Server_Method_Definition
Set object state from options
setPrototypes(
array $prototypes
)
:
Zend_Server_Method_Definition
Set all prototypes at once (overwrites)
toArray(
)
:
array
Serialize to array