'all conferences', 1 => 'just ad-hoc conferences', 2 => 'just planned conferences', 3 => 'just failed conferences', ); /** * unique owner id * * @var string */ public $ownerId = null; /** * constructor * * @param integer $environment * @param integer $what * @param string $ownerId */ public function __construct($environment, $what = 0, $ownerId = null) { parent::__construct($environment); $this->setWhat($what) ->setOwnerId($ownerId); } /** * sets $what * * @param integer $what * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceListRequest */ public function setWhat($what) { if (!array_key_exists($what, $this->_whatValues)) { #require_once 'Zend/Service/DeveloperGarden/Request/Exception.php'; throw new Zend_Service_DeveloperGarden_Request_Exception('What value not allowed.'); } $this->what = $what; return $this; } /** * sets $ownerId * * @param $ownerId * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceListRequest */ public function setOwnerId($ownerId) { $this->ownerId = $ownerId; return $this; } }