ConferenceDetail.php 3.0 KB

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