setFirstName($firstName) ->setLastName($lastName) ->setNumber($number) ->setEmail($email) ->setFlags((int) $isInitiator); } /** * returns the value of $firstName * * @return string */ public function getFirstName() { return $this->firstName; } /** * sets $firstName * * @param string $firstName * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function setFirstName($firstName) { $this->firstName = $firstName; return $this; } /** * returns the value of $lastName * * @return string */ public function getLastName() { return $this->lastName; } /** * sets $lastName * * @param string $lastName * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function setLastName($lastName) { $this->lastName = $lastName; return $this; } /** * returns the value of $number * * @return string */ public function getNumber() { return $this->number; } /** * sets $number * * @param string $number * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function setNumber($number) { $this->number = $number; return $this; } /** * returns the value of $email * * @return string */ public function getEmail() { return $this->email; } /** * sets $email * * @param string email * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function setEmail($email) { $validator = new Zend_Validate_EmailAddress(); if (!$validator->isValid($email)) { require_once 'Zend/Service/DeveloperGarden/Exception.php'; throw new Zend_Service_DeveloperGarden_Exception('Not a valid e-mail address.'); } $this->email = $email; return $this; } /** * returns the value of $flags * * @return integer */ public function getFlags() { return $this->flags; } /** * sets $flags (ie, initiator flag) * * @param integer $flags * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function setFlags($flags) { $this->flags = $flags; return $this; } }