Mage_Adminhtml_Block_Page_Header Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Page_Header:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getHomeLink ()
 getUser ()
 getLogoutLink ()
 displayNoscriptNotice ()


Detailed Description

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

00037     {
00038         parent::__construct();
00039         $this->setTemplate('page/header.phtml');
00040     }


Member Function Documentation

displayNoscriptNotice (  ) 

Check if noscript notice should be displayed

Returns:
boolean

Definition at line 62 of file Header.php.

00063     {
00064         return Mage::getStoreConfig('web/browser_capabilities/javascript');
00065     }

getHomeLink (  ) 

Definition at line 42 of file Header.php.

00043     {
00044         return $this->getUrl('adminhtml');
00045     }

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     }


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

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