Public Member Functions | |
__construct () |
Definition at line 36 of file Catalog.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Container.
Definition at line 38 of file Catalog.php.
00039 { 00040 $this->_addButton('apply_rules', array( 00041 'label' => Mage::helper('catalogrule')->__('Apply Rules'), 00042 'onclick' => "location.href='".$this->getUrl('*/*/applyRules')."'", 00043 'class' => '', 00044 )); 00045 00046 $this->_controller = 'promo_catalog'; 00047 $this->_headerText = Mage::helper('catalogrule')->__('Catalog Price Rules'); 00048 $this->_addButtonLabel = Mage::helper('catalogrule')->__('Add New Rule'); 00049 parent::__construct(); 00050 00051 }