Public Member Functions | |
indexAction () | |
Protected Member Functions | |
_isAllowed () |
Definition at line 26 of file OnlineController.php.
_isAllowed | ( | ) | [protected] |
Reimplemented from Mage_Adminhtml_Controller_Action.
Definition at line 48 of file OnlineController.php.
00049 { 00050 return Mage::getSingleton('admin/session')->isAllowed('customer/online'); 00051 }
indexAction | ( | ) |
Definition at line 29 of file OnlineController.php.
00030 { 00031 if($this->getRequest()->getParam('ajax')) { 00032 $this->_forward('grid'); 00033 return; 00034 } 00035 00036 $this->loadLayout(); 00037 00038 $this->_setActiveMenu('customer/online'); 00039 00040 $this->_addContent($this->getLayout()->createBlock('adminhtml/customer_online', 'customers')); 00041 00042 $this->_addBreadcrumb(Mage::helper('customer')->__('Customers'), Mage::helper('customer')->__('Customers')); 00043 $this->_addBreadcrumb(Mage::helper('customer')->__('Online Customers'), Mage::helper('customer')->__('Online Customers')); 00044 00045 $this->renderLayout(); 00046 }