OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxselection.php
Go to the documentation of this file.
1 <?php
2 
8 {
13  protected $_sName = null;
14 
19  protected $_sValue = null;
20 
25  protected $_blActive = null;
26 
31  protected $_blDisabled = null;
32 
43  public function __construct( $sName, $sValue, $blDisabled, $blActive )
44  {
45  $this->_sName = $sName;
46  $this->_sValue = $sValue;
47  $this->_blDisabled = $blDisabled;
48  $this->_blActive = $blActive;
49  }
50 
56  public function getValue()
57  {
58  return $this->_sValue;
59  }
60 
66  public function getName()
67  {
68  return getStr()->htmlspecialchars( $this->_sName );
69  }
70 
76  public function isActive()
77  {
78  return $this->_blActive;
79  }
80 
86  public function isDisabled()
87  {
88  return $this->_blDisabled;
89  }
90 
98  public function setActiveState( $blActive )
99  {
100  $this->_blActive = $blActive;
101  }
102 
110  public function setDisabled( $blDisabled )
111  {
112  $this->_blDisabled = $blDisabled;
113  }
114 
120  public function getLink()
121  {
122  return "#";
123  }
124 }