\Zend_Server_Method_Parameter
Method parameter 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_Parameter
{
- // members
- protected $_defaultValue;
- protected string $_description = '';
- protected $_name;
- protected bool $_optional = false;
- protected string $_type = 'mixed';
- // methods
- public void __construct()
- public Zend_Server_Method_Parameter setOptions()
- public Zend_Server_Method_Parameter setDefaultValue()
- public mixed getDefaultValue()
- public Zend_Server_Method_Parameter setDescription()
- public string getDescription()
- public Zend_Server_Method_Parameter setName()
- public string getName()
- public Zend_Server_Method_Parameter setOptional()
- public bool isOptional()
- public Zend_Server_Method_Parameter setType()
- public string getType()
- public array toArray()
Members
protected
- $_defaultValue — mixed
- $_description — string
- $_name — string
- $_optional — bool
- $_type — string
Methods
public
- __construct() — Constructor
- getDefaultValue() — Retrieve default value
- getDescription() — Retrieve description
- getName() — Retrieve name
- getType() — Retrieve parameter type
- isOptional() — Is the parameter optional?
- setDefaultValue() — Set default value
- setDescription() — Set description
- setName() — Set name
- setOptional() — Set optional flag
- setOptions() — Set object state from array of options
- setType() — Set parameter type
- toArray() — Cast to array