OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxselection.php
Go to the documentation of this file.
1 <?php
2 
8 {
9 
15  protected $_sName = null;
16 
22  protected $_sValue = null;
23 
29  protected $_blActive = null;
30 
36  protected $_blDisabled = null;
37 
48  public function __construct($sName, $sValue, $blDisabled, $blActive)
49  {
50  $this->_sName = $sName;
51  $this->_sValue = $sValue;
52  $this->_blDisabled = $blDisabled;
53  $this->_blActive = $blActive;
54  }
55 
61  public function getValue()
62  {
63  return $this->_sValue;
64  }
65 
71  public function getName()
72  {
73  return getStr()->htmlspecialchars($this->_sName);
74  }
75 
81  public function isActive()
82  {
83  return $this->_blActive;
84  }
85 
91  public function isDisabled()
92  {
93  return $this->_blDisabled;
94  }
95 
101  public function setActiveState($blActive)
102  {
103  $this->_blActive = $blActive;
104  }
105 
111  public function setDisabled($blDisabled)
112  {
113  $this->_blDisabled = $blDisabled;
114  }
115 
121  public function getLink()
122  {
123  return "#";
124  }
125 }