Mage_Adminhtml_Block_Catalog_Category_Edit Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Catalog_Category_Edit:

Mage_Adminhtml_Block_Widget_Form_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 ()

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 34 of file Edit.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_Form_Container.

Definition at line 36 of file Edit.php.

00037     {
00038         $this->_objectId    = 'entity_id';
00039         $this->_controller  = 'catalog_category';
00040         $this->_mode        = 'edit';
00041 
00042         parent::__construct();
00043         $this->setTemplate('catalog/category/edit.phtml');
00044     }


Member Function Documentation

_prepareLayout (  )  [protected]

Preparing global layout

You can redefine this method in child classes for changin layout

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Adminhtml_Block_Widget_Form_Container.

Definition at line 46 of file Edit.php.

00047     {
00048         $category = Mage::registry('current_category');
00049         if (Mage::app()->getConfig()->getModuleConfig('Mage_GoogleOptimizer')->is('active', true)
00050             && Mage::helper('googleoptimizer')->isOptimizerActive($category->getStoreId())) {
00051             $this->setChild('googleoptimizer_js',
00052                 $this->getLayout()->createBlock('googleoptimizer/js')->setTemplate('googleoptimizer/js.phtml')
00053             );
00054         }
00055         return parent::_prepareLayout();
00056     }


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

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