Mage_Adminhtml_Block_Extensions_Local Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Local:

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 35 of file Local.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 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     }


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

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