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.
Server methods metadata
array $_methods = 'array'
Detailsbool $_overwriteExistingMethods = 'false'
Details__construct(
null|array $methods
=
null
)
:
voidConstructor
DetailsaddMethod(
array|Zend_Server_Method_Definition $method, null|string $name
=
null
)
:
Zend_Server_DefinitionAdd method to definition
DetailsaddMethods(
array $methods
)
:
Zend_Server_DefinitionAdd multiple methods
DetailsclearMethods(
)
:
Zend_Server_DefinitionClear all method definitions
Detailscount(
)
:
intCountable: count of methods
Detailscurrent(
)
:
mixedIterator: current item
DetailsgetMethod(
string $method
)
:
null|Zend_Server_Method_DefinitionGet a given method definition
DetailsgetMethods(
)
:
arrayGet all method definitions
DetailshasMethod(
string $method
)
:
boolDoes the definition have the given method?
Detailskey(
)
:
int|stringIterator: current item key
Detailsnext(
)
:
voidIterator: advance to next method
DetailsremoveMethod(
string $method
)
:
Zend_Server_DefinitionRemove a method definition
Detailsrewind(
)
:
voidIterator: return to first method
DetailssetMethods(
array $methods
)
:
Zend_Server_DefinitionSet all methods at once (overwrite)
DetailssetOverwriteExistingMethods(
mixed $flag
)
:
voidSet flag indicating whether or not overwriting existing methods is allowed
DetailstoArray(
)
:
arrayCast definition to an array
Detailsvalid(
)
:
boolIterator: is the current index valid?
Details