[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
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 * @category Zend 25 * @package Zend_Service 26 * @subpackage DeveloperGarden 27 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 28 * @author Marco Kaiser 29 * @license http://framework.zend.com/license/new-bsd New BSD License 30 */ 31 class Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail 32 { 33 /** 34 * name of this conference 35 * 36 * @var string 37 */ 38 public $name = null; 39 40 /** 41 * description of this conference 42 * 43 * @var string 44 */ 45 public $description = null; 46 47 /** 48 * duration in seconds of this conference 49 * 50 * @var integer 51 */ 52 public $duration = null; 53 54 /** 55 * create object 56 * 57 * @param string $name 58 * @param string $description 59 * @param integer $duration 60 * 61 * @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail 62 */ 63 public function __construct($name, $description, $duration) 64 { 65 $this->setName($name); 66 $this->setDescription($description); 67 $this->setDuration($duration); 68 } 69 70 /** 71 * sets new duration for this conference in seconds 72 * 73 * @param integer $duration 74 * @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail 75 */ 76 public function setDuration($duration) 77 { 78 $this->duration = $duration; 79 return $this; 80 } 81 82 /** 83 * @return string 84 */ 85 public function getDuration() 86 { 87 return $this->duration; 88 } 89 90 /** 91 * set the description of this conference 92 * 93 * @param $description the $description to set 94 * @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail 95 */ 96 public function setDescription($description) 97 { 98 $this->description = $description; 99 return $this; 100 } 101 102 /** 103 * @return string 104 */ 105 public function getDescription() 106 { 107 return $this->description; 108 } 109 110 /** 111 * sets the name of this conference 112 * 113 * @param string $name 114 * @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail 115 */ 116 public function setName($name) 117 { 118 $this->name = $name; 119 return $this; 120 } 121 122 /** 123 * @return string 124 */ 125 public function getName() 126 { 127 return $this->name; 128 } 129 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |