ParticipantStatus.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. * @see Zend_Validate_Ip
  24. */
  25. require_once 'Zend/Validate/Ip.php';
  26. /**
  27. * @category Zend
  28. * @package Zend_Service
  29. * @subpackage DeveloperGarden
  30. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  31. * @author Marco Kaiser
  32. * @license http://framework.zend.com/license/new-bsd New BSD License
  33. */
  34. class Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
  35. {
  36. /**
  37. * @var string
  38. */
  39. public $name = null;
  40. /**
  41. * @var string
  42. */
  43. public $value = null;
  44. /**
  45. * constructor for participant status object
  46. *
  47. * @param string $vame
  48. * @param string $value
  49. */
  50. public function __construct($name, $value = null)
  51. {
  52. $this->setName($name)
  53. ->setValue($value);
  54. }
  55. /**
  56. * returns the value of $name
  57. *
  58. * @return string
  59. */
  60. public function getName()
  61. {
  62. return $this->name;
  63. }
  64. /**
  65. * sets $name
  66. *
  67. * @param string $name
  68. * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
  69. */
  70. public function setName($name)
  71. {
  72. $this->name = $name;
  73. return $this;
  74. }
  75. /**
  76. * returns the value of $value
  77. *
  78. * @return string
  79. */
  80. public function getValue()
  81. {
  82. return $this->value;
  83. }
  84. /**
  85. * sets $value
  86. *
  87. * @param string $value
  88. * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
  89. */
  90. public function setValue($value = null)
  91. {
  92. $this->value = $value;
  93. return $this;
  94. }
  95. }