Source for file Channel.class.php

Documentation is available at Channel.class.php

  1. <?php
  2.  
  3. class Channel {
  4.  
  5. /**
  6. * @access private
  7. * @var string
  8. */
  9. private $lID;
  10.  
  11. /**
  12. * @access private
  13. * @var string
  14. */
  15. private $lName;
  16.  
  17. /**
  18. * @access private
  19. * @var string
  20. */
  21. private $lIPNummer;
  22.  
  23. /**
  24. * @access private
  25. * @var string
  26. */
  27. private $lType;
  28.  
  29. /**
  30. * Constructor. This creates a Channel object.
  31. * @param int $pID
  32. * @param string $pIP
  33. * @param string $pType
  34. * @param string $pName
  35. * @return Channel
  36. */
  37. function __construct($pID,$pIP,$pType,$pName = null) {
  38. $this->lID = trim($pID);
  39. $this->lIPNummer = trim($pIP);
  40. $this->lType = trim($pType);
  41. $this->lName = trim($pName);
  42. }
  43.  
  44. /**
  45. * Get the channel ID.
  46. * @return string
  47. */
  48. public function getID() {
  49. return trim($this->lID);
  50. }
  51.  
  52. /**
  53. * Get the channel name.
  54. * @return string
  55. */
  56. public function getName() {
  57. return trim($this->lName);
  58. }
  59. }
  60.  
  61. ?>

Documentation generated on Sat, 19 Jan 2008 12:56:14 +0100 by phpDocumentor 1.3.0RC3