\Zend_Server_Definition
Server methods metadata
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Server_Definition
implements
Countable,Iterator
{
- // members
- protected array $_methods = ;
- protected bool $_overwriteExistingMethods = false;
- // methods
- public void __construct()
- public void setOverwriteExistingMethods()
- public Zend_Server_Definition addMethod()
- public Zend_Server_Definition addMethods()
- public Zend_Server_Definition setMethods()
- public bool hasMethod()
- public null|Zend_Server_Method_Definition getMethod()
- public array getMethods()
- public Zend_Server_Definition removeMethod()
- public Zend_Server_Definition clearMethods()
- public array toArray()
- public int count()
- public mixed current()
- public int|string key()
- public void next()
- public void rewind()
- public bool valid()
Hierarchy
Tasks
Line | Task |
---|---|
31+ | Implement iterator |
Members
protected
- $_methods — array
- $_overwriteExistingMethods — bool
Methods
public
- __construct() — Constructor
- addMethod() — Add method to definition
- addMethods() — Add multiple methods
- clearMethods() — Clear all method definitions
- count() — Countable: count of methods
- current() — Iterator: current item
- getMethod() — Get a given method definition
- getMethods() — Get all method definitions
- hasMethod() — Does the definition have the given method?
- key() — Iterator: current item key
- next() — Iterator: advance to next method
- removeMethod() — Remove a method definition
- rewind() — Iterator: return to first method
- setMethods() — Set all methods at once (overwrite)
- setOverwriteExistingMethods() — Set flag indicating whether or not overwriting existing methods is allowed
- toArray() — Cast definition to an array
- valid() — Iterator: is the current index valid?