[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/DeveloperGarden/Request/ConferenceCall/ -> CreateConferenceRequest.php (source)

   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 [email protected] 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$
  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_CreateConferenceRequest
  37      extends Zend_Service_DeveloperGarden_Request_RequestAbstract
  38  {
  39      /**
  40       * account to be used for this conference
  41       *
  42       * @var integer
  43       */
  44      public $account = null;
  45  
  46      /**
  47       * unique owner id
  48       *
  49       * @var string
  50       */
  51      public $ownerId = null;
  52  
  53      /**
  54       * object with details for this conference
  55       *
  56       * @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
  57       */
  58      public $detail = null;
  59  
  60      /**
  61       * object with schedule for this conference
  62       *
  63       * @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
  64       */
  65      public $schedule = null;
  66  
  67      /**
  68       * constructor
  69       *
  70       * @param integer $environment
  71       * @param string $ownerId
  72       * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails
  73       * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule
  74       * @param integer $account
  75       */
  76      public function __construct($environment, $ownerId,
  77          Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $conferenceDetails,
  78          Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $conferenceSchedule = null,
  79          $account = null
  80      ) {
  81          parent::__construct($environment);
  82          $this->setOwnerId($ownerId)
  83               ->setDetail($conferenceDetails)
  84               ->setSchedule($conferenceSchedule)
  85               ->setAccount($account);
  86      }
  87  
  88      /**
  89       * sets $schedule
  90       *
  91       * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule
  92       * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
  93       */
  94      public function setSchedule(
  95          Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule $schedule = null
  96      ) {
  97          $this->schedule = $schedule;
  98          return $this;
  99      }
 100  
 101      /**
 102       * sets $detail
 103       *
 104       * @param Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail
 105       * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
 106       */
 107      public function setDetail(Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail $detail)
 108      {
 109          $this->detail = $detail;
 110          return $this;
 111      }
 112  
 113      /**
 114       * sets $ownerId
 115       *
 116       * @param string $ownerId
 117       * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
 118       */
 119      public function setOwnerId($ownerId)
 120      {
 121          $this->ownerId = $ownerId;
 122          return $this;
 123      }
 124  
 125      /**
 126       * sets $account
 127       *
 128       * @param $account
 129       * @return Zend_Service_DeveloperGarden_Request_ConferenceCall_CreateConferenceRequest
 130       */
 131      public function setAccount($account = null)
 132      {
 133          $this->account = $account;
 134          return $this;
 135      }
 136  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1