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'
bool $_overwriteExistingMethods = 'false'
__construct(
null|array $methods
=
null
)
:
void
Constructor
addMethod(
array|Zend_Server_Method_Definition $method, null|string $name
=
null
)
:
Zend_Server_Definition
Add method to definition
addMethods(
array $methods
)
:
Zend_Server_Definition
Add multiple methods
clearMethods(
)
:
Zend_Server_Definition
Clear all method definitions
count(
)
:
int
Countable: count of methods
current(
)
:
mixed
Iterator: current item
getMethod(
string $method
)
:
null|Zend_Server_Method_Definition
Get a given method definition
getMethods(
)
:
array
Get all method definitions
hasMethod(
string $method
)
:
bool
Does the definition have the given method?
key(
)
:
int|string
Iterator: current item key
next(
)
:
void
Iterator: advance to next method
removeMethod(
string $method
)
:
Zend_Server_Definition
Remove a method definition
rewind(
)
:
void
Iterator: return to first method
setMethods(
array $methods
)
:
Zend_Server_Definition
Set all methods at once (overwrite)
setOverwriteExistingMethods(
mixed $flag
)
:
void
Set flag indicating whether or not overwriting existing methods is allowed
toArray(
)
:
array
Cast definition to an array
valid(
)
:
bool
Iterator: is the current index valid?