detail; } /** * returns array with all participants * Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail * * @return array of Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail */ public function getParticipants() { if ($this->participants instanceof Zend_Service_DeveloperGarden_ConferenceCall_Participant) { $this->participants = array( $this->participants ); } return $this->participants; } /** * returns the participant object if found in the response * * @param string $participantId * @return Zend_Service_DeveloperGarden_ConferenceCall_Participant */ public function getParticipantById($participantId) { $participants = $this->getParticipants(); if ($participants !== null) { foreach ($participants as $participant) { if (strcmp($participant->getParticipantId(), $participantId) == 0) { return $participant; } } } return null; } }