Mage_Adminhtml_Block_Customer_Online Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Customer_Online:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 _beforeToHtml ()
 getFilterFormHtml ()

Protected Member Functions

 _prepareLayout ()


Detailed Description

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

00038     {
00039         parent::__construct();
00040         $this->setTemplate('customer/online.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 Online.php.

00044     {
00045         $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/customer_online_grid', 'customer.grid'));
00046         return parent::_beforeToHtml();
00047     }

_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 49 of file Online.php.

00050     {
00051         $this->setChild('filterForm', $this->getLayout()->createBlock('adminhtml/customer_online_filter'));
00052         return parent::_prepareLayout();
00053     }

getFilterFormHtml (  ) 

Definition at line 55 of file Online.php.

00056     {
00057         return $this->getChild('filterForm')->toHtml();
00058     }


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