diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceStatusRequest.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Service/DeveloperGarden/Request/ConferenceCall/GetConferenceStatusRequest.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,106 @@ + 'all conferences', + 1 => 'just detail, acc and startTime', + 2 => 'just participants', + 3 => 'just schedule', + ); + + /** + * constructor + * + * @param integer $environment + * @param string $conferenceId + * @param integer $what + */ + public function __construct($environment, $conferenceId, $what) + { + parent::__construct($environment); + $this->setConferenceId($conferenceId) + ->setWhat($what); + } + + /** + * set the conference id + * + * @param string $conferenceId + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceStatusRequest + */ + public function setConferenceId($conferenceId) + { + $this->conferenceId = $conferenceId; + return $this; + } + + /** + * sets $what + * + * @param integer $what + * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceStatusRequest + */ + 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; + } +}