Public Member Functions | |
__construct () |
Definition at line 35 of file Local.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 37 of file Local.php.
00038 { 00039 $this->_controller = 'extensions_local'; 00040 $this->_headerText = Mage::helper('adminhtml')->__('Manage Installed Extensions'); 00041 00042 parent::__construct(); 00043 00044 $this->_removeButton('add'); 00045 00046 $this->_addButton('upgrade_all', array( 00047 'label'=>$this->__("Upgrade all available packages"), 00048 'onclick'=>"setLocation('".$this->getUrl('*/extensions_local/upgradeAll')."')", 00049 'class'=>'add', 00050 )); 00051 00052 $this->_addButton('file', array( 00053 'label'=>$this->__("Install Package File"), 00054 'onclick'=>"setLocation('".$this->getUrl('*/extensions_file')."')", 00055 'class'=>'add', 00056 )); 00057 00058 $this->_addButton('remote', array( 00059 'label'=>$this->__("Browse Available Extensions"), 00060 'onclick'=>"setLocation('".$this->getUrl('*/extensions_remote')."')", 00061 'class'=>'add', 00062 )); 00063 }