[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/DeveloperGarden/ConferenceCall/ -> ParticipantStatus.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_Validate_Ip
  25   */
  26  require_once 'Zend/Validate/Ip.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_ConferenceCall_ParticipantStatus
  37  {
  38      /**
  39       * @var string
  40       */
  41      public $name = null;
  42  
  43      /**
  44       * @var string
  45       */
  46      public $value = null;
  47  
  48      /**
  49       * constructor for participant status object
  50       *
  51       * @param string $vame
  52       * @param string $value
  53       */
  54      public function __construct($name, $value = null)
  55      {
  56          $this->setName($name)
  57               ->setValue($value);
  58      }
  59  
  60      /**
  61       * returns the value of $name
  62       *
  63       * @return string
  64       */
  65      public function getName()
  66      {
  67          return $this->name;
  68      }
  69  
  70      /**
  71       * sets $name
  72       *
  73       * @param string $name
  74       * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
  75       */
  76      public function setName($name)
  77      {
  78          $this->name = $name;
  79          return $this;
  80      }
  81  
  82      /**
  83       * returns the value of $value
  84       *
  85       * @return string
  86       */
  87      public function getValue()
  88      {
  89          return $this->value;
  90      }
  91  
  92      /**
  93       * sets $value
  94       *
  95       * @param string $value
  96       * @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
  97       */
  98      public function setValue($value = null)
  99      {
 100          $this->value = $value;
 101          return $this;
 102      }
 103  }


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