Exemplo n.º 1
0
 protected function _prepareFilter(Mage_Core_Model_Config_Element $config)
 {
     if (isset($config->attributes)) {
         /* @var $attrCfg Mage_Core_Model_Config_Element */
         foreach ($config->attributes->children() as $code => $cfg) {
             $this->_attributeConfigs[$code] = $cfg->asCanonicalArray();
         }
     }
     parent::_prepareFilter($config);
 }
Exemplo n.º 2
0
 /**
  * 
  * (non-PHPdoc)
  * @see Mzax_Emarketing_Model_Object_Filter_Abstract::_prepareFilter($config)
  */
 protected function _prepareFilter(Mage_Core_Model_Config_Element $config)
 {
     parent::_prepareFilter($config);
     $this->_registerColumns();
     Mage::dispatchEvent("mzax_emarketing_email_filter_prepare_table_" . $this->_tableAlias, array('filter' => $this));
 }