|
Moodle
2.2.1
http://www.collinsharper.com
|
00001 <?php 00026 require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php'; 00027 00036 class Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest 00037 extends Zend_Service_DeveloperGarden_Request_RequestAbstract 00038 { 00044 public $conferenceId = null; 00045 00051 public $participantId = null; 00052 00058 public $participant = null; 00059 00065 public $action = null; 00066 00076 public function __construct($environment, $conferenceId, $participantId, 00077 $action = null, 00078 Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null 00079 ) { 00080 parent::__construct($environment); 00081 $this->setConferenceId($conferenceId) 00082 ->setParticipantId($participantId) 00083 ->setAction($action) 00084 ->setParticipant($participant); 00085 } 00086 00093 public function setConferenceId($conferenceId) 00094 { 00095 $this->conferenceId = $conferenceId; 00096 return $this; 00097 } 00098 00105 public function setParticipantId($participantId) 00106 { 00107 $this->participantId = $participantId; 00108 return $this; 00109 } 00110 00117 public function setAction($action = null) 00118 { 00119 if ($action !== null) { 00120 Zend_Service_DeveloperGarden_ConferenceCall::checkParticipantAction($action); 00121 } 00122 $this->action = $action; 00123 return $this; 00124 } 00125 00132 public function setParticipant( 00133 Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null 00134 ) { 00135 $this->participant = $participant; 00136 return $this; 00137 } 00138 }