Public Member Functions | |
__construct () | |
Protected Member Functions | |
_beforeToHtml () | |
_getTabHtml ($tab) |
Definition at line 34 of file Tabs.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 Varien_Object.
Definition at line 36 of file Tabs.php.
00037 { 00038 parent::__construct(); 00039 $this->setId('extensions_custom_tabs'); 00040 $this->setDestElementId('edit_form'); 00041 $this->setTitle(Mage::helper('adminhtml')->__('Create Extension Package')); 00042 }
_beforeToHtml | ( | ) | [protected] |
Before rendering html, but after trying to load cache
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('release', array( 00053 'label' => Mage::helper('adminhtml')->__('Release Info'), 00054 'content' => $this->_getTabHtml('release'), 00055 )); 00056 00057 $this->addTab('maintainers', array( 00058 'label' => Mage::helper('adminhtml')->__('Maintainers'), 00059 'content' => $this->_getTabHtml('maintainers'), 00060 )); 00061 00062 $this->addTab('depends', array( 00063 'label' => Mage::helper('adminhtml')->__('Dependencies'), 00064 'content' => $this->_getTabHtml('depends'), 00065 )); 00066 00067 $this->addTab('contents', array( 00068 'label' => Mage::helper('adminhtml')->__('Contents'), 00069 'content' => $this->_getTabHtml('contents'), 00070 )); 00071 00072 $this->addTab('load', array( 00073 'label' => Mage::helper('adminhtml')->__('Load local Package'), 00074 'class' => 'ajax', 00075 'url' => $this->getUrl('*/*/loadtab', array('_current' => true)), 00076 )); 00077 00078 return parent::_beforeToHtml(); 00079 }
_getTabHtml | ( | $ | tab | ) | [protected] |