\Zend_Server_Method_Definition
Method definition 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_Method_Definition
{
- // members
- protected Zend_Server_Method_Callback $_callback;
- protected array $_invokeArguments = ;
- protected string $_methodHelp = '';
- protected $_name;
- protected null|object $_object;
- protected array $_prototypes = ;
- // methods
- public void __construct()
- public Zend_Server_Method_Definition setOptions()
- public Zend_Server_Method_Definition setName()
- public string getName()
- public Zend_Server_Method_Definition setCallback()
- public Zend_Server_Method_Callback getCallback()
- public Zend_Server_Method_Definition addPrototype()
- public Zend_Server_Method_Definition addPrototypes()
- public Zend_Server_Method_Definition setPrototypes()
- public array getPrototypes()
- public Zend_Server_Method_Definition setMethodHelp()
- public string getMethodHelp()
- public Zend_Server_Method_Definition setObject()
- public null|object getObject()
- public Zend_Server_Method_Definition setInvokeArguments()
- public array getInvokeArguments()
- public array toArray()
Members
protected
- $_callback — Zend_Server_Method_Callback
- $_invokeArguments — array
- $_methodHelp — string
- $_name — string
- $_object — null|object
- $_prototypes — array
Methods
public
- __construct() — Constructor
- addPrototype() — Add prototype to method definition
- addPrototypes() — Add multiple prototypes at once
- getCallback() — Get method callback
- getInvokeArguments() — Retrieve invoke arguments
- getMethodHelp() — Get method help
- getName() — Get method name
- getObject() — Get object to use with method calls
- getPrototypes() — Get all prototypes
- setCallback() — Set method callback
- setInvokeArguments() — Set invoke arguments
- setMethodHelp() — Set method help
- setName() — Set method name
- setObject() — Set object to use with method calls
- setOptions() — Set object state from options
- setPrototypes() — Set all prototypes at once (overwrites)
- toArray() — Serialize to array