Mage_Adminhtml_Block_Extensions_Local_Edit_Tabs Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Local_Edit_Tabs:

Mage_Adminhtml_Block_Widget_Tabs Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 _beforeToHtml ()
 _getTabHtml ($tab)


Detailed Description

Definition at line 34 of file Tabs.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 Varien_Object.

Definition at line 36 of file Tabs.php.

00037     {
00038         parent::__construct();
00039         $this->setId('extensions_local_tabs');
00040         $this->setDestElementId('edit_form');
00041         $this->setTitle(Mage::helper('adminhtml')->__('Installed Extension Info'));
00042     }


Member Function Documentation

_beforeToHtml (  )  [protected]

Before rendering html, but after trying to load cache

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Adminhtml_Block_Widget_Tabs.

Definition at line 44 of file Tabs.php.

00045     {
00046         $this->addTab('package', array(
00047             'label'     => Mage::helper('adminhtml')->__('Package Info'),
00048             'content'   => $this->_getTabHtml('package'),
00049             'active'    => true,
00050         ));
00051 
00052         $this->addTab('contents', array(
00053             'label'     => Mage::helper('adminhtml')->__('Contents'),
00054             'content'   => $this->_getTabHtml('contents'),
00055         ));
00056 
00057         $this->addTab('depends', array(
00058             'label'     => Mage::helper('adminhtml')->__('Dependencies'),
00059             'content'   => $this->_getTabHtml('depends'),
00060         ));
00061 
00062         $this->addTab('changelog', array(
00063             'label'     => Mage::helper('adminhtml')->__('Changelog'),
00064             'content'   => $this->_getTabHtml('changelog'),
00065         ));
00066 
00067         $this->addTab('actions', array(
00068             'label'     => Mage::helper('adminhtml')->__('Actions'),
00069             'content'   => $this->_getTabHtml('actions'),
00070         ));
00071 
00072 /*
00073         $this->addTab('release', array(
00074             'label'     => Mage::helper('adminhtml')->__('Release Info'),
00075             'content'   => $this->_getTabHtml('release'),
00076         ));
00077 
00078         $this->addTab('maintainers', array(
00079             'label'     => Mage::helper('adminhtml')->__('Maintainers'),
00080             'content'   => $this->_getTabHtml('maintainers'),
00081         ));
00082 
00083         $this->addTab('depends', array(
00084             'label'     => Mage::helper('adminhtml')->__('Dependencies'),
00085             'content'   => $this->_getTabHtml('depends'),
00086         ));
00087 
00088 
00089 */
00090         return parent::_beforeToHtml();
00091     }

_getTabHtml ( tab  )  [protected]

Definition at line 93 of file Tabs.php.

00094     {
00095         return $this->getLayout()
00096             ->createBlock('adminhtml/extensions_local_edit_tab_'.$tab)
00097             ->initForm()
00098             ->toHtml();
00099     }


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