oxselection.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class oxSelection
00008 {
00009 
00015     protected $_sName = null;
00016 
00022     protected $_sValue = null;
00023 
00029     protected $_blActive = null;
00030 
00036     protected $_blDisabled = null;
00037 
00048     public function __construct($sName, $sValue, $blDisabled, $blActive)
00049     {
00050         $this->_sName = $sName;
00051         $this->_sValue = $sValue;
00052         $this->_blDisabled = $blDisabled;
00053         $this->_blActive = $blActive;
00054     }
00055 
00061     public function getValue()
00062     {
00063         return $this->_sValue;
00064     }
00065 
00071     public function getName()
00072     {
00073         return getStr()->htmlspecialchars($this->_sName);
00074     }
00075 
00081     public function isActive()
00082     {
00083         return $this->_blActive;
00084     }
00085 
00091     public function isDisabled()
00092     {
00093         return $this->_blDisabled;
00094     }
00095 
00101     public function setActiveState($blActive)
00102     {
00103         $this->_blActive = $blActive;
00104     }
00105 
00111     public function setDisabled($blDisabled)
00112     {
00113         $this->_blDisabled = $blDisabled;
00114     }
00115 
00121     public function getLink()
00122     {
00123         return "#";
00124     }
00125 }