CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.
This commit is contained in:
parent
514777e8d2
commit
b11cbd8159
4546 changed files with 138 additions and 51 deletions
|
@ -0,0 +1,91 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: AddConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_AddConferenceTemplateParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* the participant details
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public $participant = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
*/
|
||||
public function __construct($environment, $templateId,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId)
|
||||
->setParticipant($participant);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_AddConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets new participant
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_AddConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setParticipant(Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant)
|
||||
{
|
||||
$this->participant = $participant;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CommitConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_CommitConferenceRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
*/
|
||||
public function __construct($environment, $conferenceId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CommitConferenceRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,136 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* account to be used for this conference
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $account = null;
|
||||
|
||||
/**
|
||||
* unique owner id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $ownerId = null;
|
||||
|
||||
/**
|
||||
* object with details for this conference
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* object with schedule for this conference
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
|
||||
*/
|
||||
public $schedule = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $ownerId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule
|
||||
* @param integer $account
|
||||
*/
|
||||
public function __construct($environment, $ownerId,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule = null,
|
||||
$account = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setOwnerId($ownerId)
|
||||
->setDetail($conferenceDetails)
|
||||
->setSchedule($conferenceSchedule)
|
||||
->setAccount($account);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $schedule
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setSchedule(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule = null
|
||||
) {
|
||||
$this->schedule = $schedule;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $detail
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setDetail(Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail)
|
||||
{
|
||||
$this->detail = $detail;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $ownerId
|
||||
*
|
||||
* @param string $ownerId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->ownerId = $ownerId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $account
|
||||
*
|
||||
* @param $account
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setAccount($account = null)
|
||||
{
|
||||
$this->account = $account;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* unique owner id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $ownerId = null;
|
||||
|
||||
/**
|
||||
* object with details for this conference
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* array with Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail elements
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $participants = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $ownerId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
|
||||
* @param array $conferenceParticipants
|
||||
*/
|
||||
public function __construct($environment, $ownerId,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails,
|
||||
array $conferenceParticipants = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setOwnerId($ownerId)
|
||||
->setDetail($conferenceDetails)
|
||||
->setParticipants($conferenceParticipants);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $participants
|
||||
*
|
||||
* @param array $participants
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
|
||||
*/
|
||||
public function setParticipants(array $participants = null)
|
||||
{
|
||||
$this->participants = $participants;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $detail
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
|
||||
*/
|
||||
public function setDetail(Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail)
|
||||
{
|
||||
$this->detail = $detail;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $ownerId
|
||||
*
|
||||
* @param string $ownerId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->ownerId = $ownerId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceListRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceListRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
public $what = null;
|
||||
|
||||
/**
|
||||
* possible what values
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $_whatValues = array(
|
||||
0 => '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;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,106 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceStatusRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceStatusRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* what
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $what = null;
|
||||
|
||||
/**
|
||||
* possible what values
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $_whatValues = array(
|
||||
0 => '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;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateListRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateListRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* unique owner id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $ownerId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $ownerId
|
||||
*/
|
||||
public function __construct($environment, $ownerId = null)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setOwnerId($ownerId);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $ownerId
|
||||
*
|
||||
* @param $ownerId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateListRequest
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->ownerId = $ownerId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
* @param string $participantId
|
||||
*/
|
||||
public function __construct($environment, $templateId, $participantId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId)
|
||||
->setParticipantId($participantId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
*/
|
||||
public function __construct($environment, $templateId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetConferenceTemplateRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetParticipantStatusRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetParticipantStatusRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
* @param string $participantId
|
||||
*/
|
||||
public function __construct($environment, $conferenceId, $participantId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId)
|
||||
->setParticipantId($participantId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetParticipantStatusRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetParticipantStatusRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetRunningConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_GetRunningConferenceRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
*/
|
||||
public function __construct($environment, $conferenceId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_GetRunningConferenceRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NewParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_NewParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* conference participant
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public $participant = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
*/
|
||||
public function __construct($environment, $conferenceId,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId)
|
||||
->setParticipant($participant);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_NewParticipantRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets new participant
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_NewParticipantRequest
|
||||
*/
|
||||
public function setParticipant(Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant)
|
||||
{
|
||||
$this->participant = $participant;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
*/
|
||||
public function __construct($environment, $conferenceId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceTemplateParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
* @param string $participantId
|
||||
*/
|
||||
public function __construct($environment, $templateId, $participantId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId)
|
||||
->setParticipantId($participantId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceTemplateRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
*/
|
||||
public function __construct($environment, $templateId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveConferenceTemplateRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
* @param string $participantId
|
||||
*/
|
||||
public function __construct($environment, $conferenceId, $participantId)
|
||||
{
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId)
|
||||
->setParticipantId($participantId);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveParticipantRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_RemoveParticipantRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,158 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* account to be used for this conference
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $account = null;
|
||||
|
||||
/**
|
||||
* unique owner id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $ownerId = null;
|
||||
|
||||
/**
|
||||
* object with details for this conference
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* object with schedule for this conference
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
|
||||
*/
|
||||
public $schedule = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
* @param string $ownerId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule
|
||||
* @param integer $account
|
||||
*/
|
||||
public function __construct($environment, $conferenceId, $ownerId = null,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails = null,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule = null,
|
||||
$account = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId)
|
||||
->setOwnerId($ownerId)
|
||||
->setDetail($conferenceDetails)
|
||||
->setSchedule($conferenceSchedule)
|
||||
->setAccount($account);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $conferenceId
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId= $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $schedule
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setSchedule(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule = null
|
||||
) {
|
||||
$this->schedule = $schedule;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $detail
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setDetail(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail = null
|
||||
) {
|
||||
$this->detail = $detail;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $ownerId
|
||||
*
|
||||
* @param string $ownerId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setOwnerId($ownerId = null)
|
||||
{
|
||||
$this->ownerId = $ownerId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $account
|
||||
*
|
||||
* @param $account
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
|
||||
*/
|
||||
public function setAccount($account = null)
|
||||
{
|
||||
$this->account = $account;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceTemplateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* the participant details
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public $participant = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
* @param string $participantId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
*/
|
||||
public function __construct($environment, $templateId, $participantId,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId)
|
||||
->setParticipantId($participantId)
|
||||
->setParticipant($participant);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets new participant
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateParticipantRequest
|
||||
*/
|
||||
public function setParticipant(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
) {
|
||||
$this->participant = $participant;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the template id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* the initiator id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $initiatorId = null;
|
||||
|
||||
/**
|
||||
* the details
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $templateId
|
||||
* @param string $initiatorId
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
|
||||
*/
|
||||
public function __construct($environment, $templateId, $initiatorId = null,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setTemplateId($templateId)
|
||||
->setInitiatorId($initiatorId)
|
||||
->setDetail($conferenceDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the template id
|
||||
*
|
||||
* @param string $templateId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateRequest
|
||||
*/
|
||||
public function setTemplateId($templateId)
|
||||
{
|
||||
$this->templateId = $templateId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the initiator id
|
||||
*
|
||||
* @param string $initiatorId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateRequest
|
||||
*/
|
||||
public function setInitiatorId($initiatorId)
|
||||
{
|
||||
$this->initiatorId = $initiatorId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets $detail
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateConferenceTemplateRequest
|
||||
*/
|
||||
public function setDetail(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail = null
|
||||
) {
|
||||
$this->detail = $detail;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,138 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateParticipantRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest
|
||||
extends Zend_Service_DeveloperGarden_Request_RequestAbstract
|
||||
{
|
||||
/**
|
||||
* the conference id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* the participant id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* conference participant
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public $participant = null;
|
||||
|
||||
/**
|
||||
* possible action
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $action = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param integer $environment
|
||||
* @param string $conferenceId
|
||||
* @param string $participantId
|
||||
* @param integer $action
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
*/
|
||||
public function __construct($environment, $conferenceId, $participantId,
|
||||
$action = null,
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null
|
||||
) {
|
||||
parent::__construct($environment);
|
||||
$this->setConferenceId($conferenceId)
|
||||
->setParticipantId($participantId)
|
||||
->setAction($action)
|
||||
->setParticipant($participant);
|
||||
}
|
||||
|
||||
/**
|
||||
* set the conference id
|
||||
*
|
||||
* @param string $conferenceId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest
|
||||
*/
|
||||
public function setConferenceId($conferenceId)
|
||||
{
|
||||
$this->conferenceId = $conferenceId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the participant id
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest
|
||||
*/
|
||||
public function setParticipantId($participantId)
|
||||
{
|
||||
$this->participantId = $participantId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets new action
|
||||
*
|
||||
* @param integer $action
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest
|
||||
*/
|
||||
public function setAction($action = null)
|
||||
{
|
||||
if ($action !== null) {
|
||||
Zend_Service_DeveloperGarden_ConferenceCall::checkParticipantAction($action);
|
||||
}
|
||||
$this->action = $action;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* sets new participant
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant
|
||||
* @return Zend_Service_DeveloperGarden_Request_ConferenceCall_UpdateParticipantRequest
|
||||
*/
|
||||
public function setParticipant(
|
||||
Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail $participant = null
|
||||
) {
|
||||
$this->participant = $participant;
|
||||
return $this;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue