Mage_Adminhtml_Block_Customer_Group Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Customer_Group:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 _beforeToHtml ()


Detailed Description

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

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


Member Function Documentation

_beforeToHtml (  ) 

Before rendering html, but after trying to load cache

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 43 of file Group.php.

00044     {
00045         $this->assign('createUrl', $this->getUrl('*/customer_group/new'));
00046         $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/customer_group_grid', 'customer.group.grid'));
00047         return parent::_beforeToHtml();
00048     }


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

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