Zend Framework
1.12
|
Public Member Functions | |
__construct ($methods=null) | |
Constructor. | |
setOverwriteExistingMethods ($flag) | |
Set flag indicating whether or not overwriting existing methods is allowed. | |
addMethod ($method, $name=null) | |
Add method to definition. | |
addMethods (array $methods) | |
Add multiple methods. | |
setMethods (array $methods) | |
Set all methods at once (overwrite) | |
hasMethod ($method) | |
Does the definition have the given method? | |
getMethod ($method) | |
Get a given method definition. | |
getMethods () | |
Get all method definitions. | |
removeMethod ($method) | |
Remove a method definition. | |
clearMethods () | |
Clear all method definitions. | |
toArray () | |
Cast definition to an array. | |
count () | |
Countable: count of methods. | |
current () | |
Iterator: current item. | |
key () | |
Iterator: current item key. | |
next () | |
Iterator: advance to next method. | |
rewind () | |
Iterator: return to first method. | |
valid () | |
Iterator: is the current index valid? | |
Protected Attributes | |
$_methods = array() | |
$_overwriteExistingMethods = false | |
__construct | ( | $methods = null | ) |
Constructor.
null | array | $methods |
addMethod | ( | $method, | |
$name = null |
|||
) |
Add method to definition.
array | Zend_Server_Method_Definition | $method | |
null | string | $name |
Zend_Server_Exception | if duplicate or invalid method provided |
addMethods | ( | array | $methods | ) |
Add multiple methods.
array | $methods | Array of Zend_Server_Method_Definition objects or arrays |
clearMethods | ( | ) |
Clear all method definitions.
count | ( | ) |
Countable: count of methods.
current | ( | ) |
Iterator: current item.
getMethod | ( | $method | ) |
Get a given method definition.
string | $method |
getMethods | ( | ) |
Get all method definitions.
hasMethod | ( | $method | ) |
Does the definition have the given method?
string | $method |
key | ( | ) |
Iterator: current item key.
next | ( | ) |
Iterator: advance to next method.
removeMethod | ( | $method | ) |
rewind | ( | ) |
Iterator: return to first method.
setMethods | ( | array | $methods | ) |
Set all methods at once (overwrite)
array | $methods | Array of Zend_Server_Method_Definition objects or arrays |
setOverwriteExistingMethods | ( | $flag | ) |
Set flag indicating whether or not overwriting existing methods is allowed.
mixed | $flag |
toArray | ( | ) |
Cast definition to an array.
valid | ( | ) |
Iterator: is the current index valid?
|
protected |
|
protected |