Mage_Adminhtml_Block_Promo_Catalog Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Promo_Catalog:

Mage_Adminhtml_Block_Widget_Grid_Container Mage_Adminhtml_Block_Widget_Container Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()


Detailed Description

Definition at line 36 of file Catalog.php.


Constructor & Destructor Documentation

__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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:22:54 2009 for Magento by  doxygen 1.5.8