Public Member Functions | |
__construct () | |
getHomeLink () | |
getUser () | |
getLogoutLink () | |
displayNoscriptNotice () |
Definition at line 34 of file Header.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 36 of file Header.php.
00037 { 00038 parent::__construct(); 00039 $this->setTemplate('page/header.phtml'); 00040 }
displayNoscriptNotice | ( | ) |
Check if noscript notice should be displayed
Definition at line 62 of file Header.php.
00063 { 00064 return Mage::getStoreConfig('web/browser_capabilities/javascript'); 00065 }
getHomeLink | ( | ) |
getLogoutLink | ( | ) |
Definition at line 52 of file Header.php.
00053 { 00054 return $this->getUrl('adminhtml/index/logout'); 00055 }
getUser | ( | ) |
Definition at line 47 of file Header.php.
00048 { 00049 return Mage::getSingleton('admin/session')->getUser(); 00050 }