Beispiel #1
0
 public function _construct()
 {
     parent::_construct();
     if (!$this->getOptions()) {
         foreach ($this->_getRuleList() as $ruleId => $ruleLabel) {
             $this->addOption($ruleId, addslashes($ruleLabel));
         }
     }
 }
Beispiel #2
0
 /**
  * Add options to this select box.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setOptions(Mage::getModel('mageparts_base/system_config_source_urltable_type')->toOptionArray());
 }
Beispiel #3
0
 /**
  * Add options to this select box.
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setOptions(Mage::getModel('ddq/system_config_source_columntype')->toOptionArray());
 }
Beispiel #4
0
 protected function _construct()
 {
     parent::_construct();
     $this->_helper = Mage::helper('allbear_cghomepage');
 }