web/lib/Zend/Service/DeveloperGarden/Request/ConferenceCall/CreateConferenceTemplateRequest.php
changeset 64 162c1de6545a
parent 19 1c2f13fd785c
child 68 ecaf28ffe26e
equal deleted inserted replaced
63:5b37998e522e 64:162c1de6545a
       
     1 <?php
       
     2 /**
       
     3  * Zend Framework
       
     4  *
       
     5  * LICENSE
       
     6  *
       
     7  * This source file is subject to the new BSD license that is bundled
       
     8  * with this package in the file LICENSE.txt.
       
     9  * It is also available through the world-wide-web at this URL:
       
    10  * http://framework.zend.com/license/new-bsd
       
    11  * If you did not receive a copy of the license and are unable to
       
    12  * obtain it through the world-wide-web, please send an email
       
    13  * to license@zend.com so we can send you a copy immediately.
       
    14  *
       
    15  * @category   Zend
       
    16  * @package    Zend_Service
       
    17  * @subpackage DeveloperGarden
       
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    20  * @version    $Id: CreateConferenceTemplateRequest.php 20166 2010-01-09 19:00:17Z bkarwin $
       
    21  */
       
    22 
       
    23 /**
       
    24  * @see Zend_Service_DeveloperGarden_Request_RequestAbstract
       
    25  */
       
    26 require_once 'Zend/Service/DeveloperGarden/Request/RequestAbstract.php';
       
    27 
       
    28 /**
       
    29  * @category   Zend
       
    30  * @package    Zend_Service
       
    31  * @subpackage DeveloperGarden
       
    32  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    33  * @author     Marco Kaiser
       
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    35  */
       
    36 class Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
       
    37     extends Zend_Service_DeveloperGarden_Request_RequestAbstract
       
    38 {
       
    39     /**
       
    40      * unique owner id
       
    41      *
       
    42      * @var string
       
    43      */
       
    44     public $ownerId = null;
       
    45 
       
    46     /**
       
    47      * object with details for this conference
       
    48      *
       
    49      * @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
       
    50      */
       
    51     public $detail = null;
       
    52 
       
    53     /**
       
    54      * array with Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail elements
       
    55      *
       
    56      * @var array
       
    57      */
       
    58     public $participants = null;
       
    59 
       
    60     /**
       
    61      * constructor
       
    62      *
       
    63      * @param integer $environment
       
    64      * @param string $ownerId
       
    65      * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
       
    66      * @param array $conferenceParticipants
       
    67      */
       
    68     public function __construct($environment, $ownerId,
       
    69         Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails,
       
    70         array $conferenceParticipants = null
       
    71     ) {
       
    72         parent::__construct($environment);
       
    73         $this->setOwnerId($ownerId)
       
    74              ->setDetail($conferenceDetails)
       
    75              ->setParticipants($conferenceParticipants);
       
    76     }
       
    77 
       
    78     /**
       
    79      * sets $participants
       
    80      *
       
    81      * @param array $participants
       
    82      * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
       
    83      */
       
    84     public function setParticipants(array $participants = null)
       
    85     {
       
    86         $this->participants = $participants;
       
    87         return $this;
       
    88     }
       
    89 
       
    90     /**
       
    91      * sets $detail
       
    92      *
       
    93      * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
       
    94      * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
       
    95      */
       
    96     public function setDetail(Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail)
       
    97     {
       
    98         $this->detail = $detail;
       
    99         return $this;
       
   100     }
       
   101 
       
   102     /**
       
   103      * sets $ownerId
       
   104      *
       
   105      * @param string $ownerId
       
   106      * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceTemplateRequest
       
   107      */
       
   108     public function setOwnerId($ownerId)
       
   109     {
       
   110         $this->ownerId = $ownerId;
       
   111         return $this;
       
   112     }
       
   113 }