Public Member Functions | |
__construct () | |
_beforeToHtml () | |
getFilterFormHtml () | |
Protected Member Functions | |
_prepareLayout () |
Definition at line 34 of file Online.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 Online.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('customer/online.phtml'); 00041 }
_beforeToHtml | ( | ) |
Before rendering html, but after trying to load cache
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
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 }