public function getAllOptions()
 {
     if (!$this->_options) {
         parent::getAllOptions();
         array_push($this->_options, array('value' => self::CONTENT, 'label' => Mage::helper('firegento_flexcms')->__('Content only (FlexCms)')), array('value' => self::CONTENT_AND_PRODUCTS, 'label' => Mage::helper('firegento_flexcms')->__('Content and Products (FlexCms)')), array('value' => self::CMS_PAGE, 'label' => Mage::helper('firegento_flexcms')->__('CMS Page (FlexCms)')), array('value' => self::URL_EXTERNAL, 'label' => Mage::helper('firegento_flexcms')->__('External URL (FlexCms)')));
     }
     return $this->_options;
 }
예제 #2
0
 public function getAllOptions()
 {
     $options = parent::getAllOptions();
     $options[] = array('value' => Ash_CategoryLandingPage_Helper_Data::DM_SUBCATEGORIES, 'label' => Mage::helper('catalog')->__('Subcategories only'));
     return $options;
 }
 public function getAllOptions()
 {
     $listModes = parent::getAllOptions();
     $newlistmodes[] = array('value' => AM_SubCatMode_Model_Catalog_Category::DM_SUBCATEGORIES, 'label' => Mage::helper('catalog')->__('Subcategories only'));
     return array_merge($listModes, $newlistmodes);
 }