Mage_Adminhtml_Block_Tag_Pending Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Tag_Pending:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getCreateButtonHtml ()
 getGridHtml ()
 getHeaderHtml ()

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 34 of file Pending.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 37 of file Pending.php.

00038     {
00039         parent::__construct();
00040         $this->setTemplate('tag/index.phtml');
00041     }


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_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     }


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

Generated on Sat Jul 4 17:23:05 2009 for Magento by  doxygen 1.5.8