Public Member Functions | |
__construct () | |
getCreateButtonHtml () | |
getGridHtml () | |
getHeaderHtml () | |
Protected Member Functions | |
_prepareLayout () |
Definition at line 34 of file Pending.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 37 of file Pending.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('tag/index.phtml'); 00041 }
_prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 43 of file Pending.php.
00044 { 00045 /* 00046 $this->setChild('createButton', 00047 $this->getLayout()->createBlock('adminhtml/widget_button') 00048 ->setData(array('label' => Mage::helper('tag')->__('Add New Tag'), 00049 'class' => 'add' 00050 )) 00051 ); 00052 */ 00053 $this->setChild('tagsGrid', 00054 $this->getLayout()->createBlock('adminhtml/tag_grid_pending') 00055 ); 00056 return parent::_prepareLayout(); 00057 }
getCreateButtonHtml | ( | ) |
Definition at line 59 of file Pending.php.
00060 { 00061 return '';#$this->getChildHtml('createButton'); 00062 }
getGridHtml | ( | ) |
Definition at line 64 of file Pending.php.
00065 { 00066 return $this->getChildHtml('tagsGrid'); 00067 }
getHeaderHtml | ( | ) |
Definition at line 69 of file Pending.php.
00070 { 00071 return Mage::helper('tag')->__('Pending Tags'); 00072 }