48         $this->_sLabel = trim($sLabel);
 
   49         $this->_iIndex = $iIndex;
 
   59         return getStr()->htmlspecialchars($this->_sLabel);
 
   70     public function addVariant($sName, $sValue, $blDisabled, $blActive)
 
   72         $sName = trim($sName);
 
   74         if (!empty($sName) || $sName === 
'0') {
 
   78             if (!isset($this->_aList[$sKey])) {
 
   79                 $this->_aList[$sKey] = 
oxNew(
"oxSelection", $sName, $sValue, $blDisabled, $blActive);
 
   83                 if ($this->_aList[$sKey]->isDisabled() && !$blDisabled) {
 
   84                     $this->_aList[$sKey]->setDisabled($blDisabled);
 
   87                 if (!$this->_aList[$sKey]->isActive() && $blActive) {
 
   88                     $this->_aList[$sKey]->setActiveState($blActive);
 
   93             if ($this->_aList[$sKey]->isActive()) {
 
   94                 $this->_oActiveSelection = $this->_aList[$sKey];