53 $this->
init(
'oxselectlist');
65 if ($this->_aFieldList == null && $this->oxselectlist__oxvaldesc->value) {
66 $this->_aFieldList =
oxRegistry::getUtils()->assignValuesFromText($this->oxselectlist__oxvaldesc->value, $dVat);
67 foreach ($this->_aFieldList as $sKey => $oField) {
68 $this->_aFieldList[$sKey]->name =
getStr()->strip_tags($this->_aFieldList[$sKey]->name);
82 public function delete($sOXID = null)
85 $sOXID = $this->
getId();
92 if ($blRemove = parent::delete($sOXID)) {
94 $oDb->execute(
"delete from oxobject2selectlist where oxselnid = " . $oDb->quote($sOXID) .
" ");
107 $this->_dVat = $dVat;
127 return $this->oxselectlist__oxtitle->value;
137 if ($this->_aList === null && $this->oxselectlist__oxvaldesc->value) {
138 $this->_aList =
false;
140 foreach ($aList as $sKey => $oField) {
142 $this->_aList[$sKey] =
oxNew(
"oxSelection",
getStr()->strip_tags($oField->name), $sKey,
false, $this->_aList ===
false ?
true :
false);
157 if ($this->_oActiveSelection === null) {
160 $this->_oActiveSelection = reset($aSelections);
176 foreach ($aSelections as $oSelection) {
177 $oSelection->setActiveState($iSelIdx == $iIdx);
178 if ($iSelIdx == $iIdx) {
179 $this->_oActiveSelection = $oSelection;