Class Mage_Adminhtml_Block_Page_Menu

Description

Adminhtml menu block

Located in /Adminhtml/Block/Page/Menu.php (line 34)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Adminhtml_Block_Template
            |
            --Mage_Adminhtml_Block_Page_Menu
Class Constant Summary
CACHE_TAGS = 'BACKEND_MAINMENU'
Variable Summary
Method Summary
array getCacheKeyInfo ()
array getMenuArray ()
string _afterToHtml (string $html)
array _buildMenuArray ([ $parent = null], [string $path = ''], [int $level = 0])
string _callbackSecretKey (array $match)
bool _checkAcl (string $resource)
bool _checkDepends ( $depends)
void _construct ()
string _getHelperValue ( $child)
int _sortMenu (int $a, int $b)
Variables
Methods
getCacheKeyInfo (line 72)

Get Key pieces for caching block content

  • access: public
array getCacheKeyInfo ()

Redefinition of:
Mage_Core_Block_Template::getCacheKeyInfo()
Get cache key informative items
getCacheLifetime (line 62)

Retrieve cache lifetime

  • access: public
int getCacheLifetime ()

Redefinition of:
Mage_Core_Block_Abstract::getCacheLifetime()
Get block cache life time
getMenuArray (line 87)

Retrieve Adminhtml Menu array

  • access: public
array getMenuArray ()
_afterToHtml (line 251)

Processing block html after rendering

  • access: protected
string _afterToHtml (string $html)
  • string $html

Redefinition of:
Mage_Core_Block_Abstract::_afterToHtml()
Processing block html after rendering
_buildMenuArray (line 121)

Recursive Build Menu array

  • access: protected
array _buildMenuArray ([ $parent = null], [string $path = ''], [int $level = 0])
  • Varien_Simplexml_Element $parent
  • string $path
  • int $level
_callbackSecretKey (line 264)

Replace Callback Secret Key

  • access: protected
string _callbackSecretKey (array $match)
  • array $match
_checkAcl (line 235)

Check is Allow menu item for admin user

  • access: protected
bool _checkAcl (string $resource)
  • string $resource
_checkDepends (line 199)

Check Depends

  • access: protected
bool _checkDepends ( $depends)
  • Varien_Simplexml_Element $depends
_construct (line 49)

Initialize template and cache settings

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Block_Template::_construct()
Internal constructor, that is called from real constructor
_getHelperValue (line 98)

Retrieve Title value for menu node

  • access: protected
string _getHelperValue ( $child)
  • Varien_Simplexml_Element $child
_sortMenu (line 188)

Sort menu comparison function

  • access: protected
int _sortMenu (int $a, int $b)
  • int $a
  • int $b

Inherited Methods

Inherited From Mage_Adminhtml_Block_Template

Mage_Adminhtml_Block_Template::getFormKey()
Mage_Adminhtml_Block_Template::isOutputEnabled()
Mage_Adminhtml_Block_Template::_getUrlModelClass()
Mage_Adminhtml_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Template

Mage_Core_Block_Template::assign()
Mage_Core_Block_Template::fetchView()
Mage_Core_Block_Template::getArea()
Mage_Core_Block_Template::getBaseUrl()
Mage_Core_Block_Template::getCacheKeyInfo()
Mage_Core_Block_Template::getDirectOutput()
Mage_Core_Block_Template::getJsUrl()
Mage_Core_Block_Template::getObjectData()
Mage_Core_Block_Template::getShowTemplateHints()
Mage_Core_Block_Template::getTemplate()
Mage_Core_Block_Template::getTemplateFile()
Mage_Core_Block_Template::renderView()
Mage_Core_Block_Template::setScriptPath()
Mage_Core_Block_Template::setTemplate()
Mage_Core_Block_Template::_construct()
Mage_Core_Block_Template::_toHtml()

Inherited From Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::addToChildGroup()
Mage_Core_Block_Abstract::addToParentGroup()
Mage_Core_Block_Abstract::append()
Mage_Core_Block_Abstract::countChildren()
Mage_Core_Block_Abstract::escapeHtml()
Mage_Core_Block_Abstract::escapeUrl()
Mage_Core_Block_Abstract::formatDate()
Mage_Core_Block_Abstract::formatTime()
Mage_Core_Block_Abstract::getAction()
Mage_Core_Block_Abstract::getAnonSuffix()
Mage_Core_Block_Abstract::getBlockAlias()
Mage_Core_Block_Abstract::getBlockHtml()
Mage_Core_Block_Abstract::getCacheKey()
Mage_Core_Block_Abstract::getCacheKeyInfo()
Mage_Core_Block_Abstract::getCacheLifetime()
Mage_Core_Block_Abstract::getCacheTags()
Mage_Core_Block_Abstract::getChild()
Mage_Core_Block_Abstract::getChildChildHtml()
Mage_Core_Block_Abstract::getChildData()
Mage_Core_Block_Abstract::getChildGroup()
Mage_Core_Block_Abstract::getChildHtml()
Mage_Core_Block_Abstract::getHelper()
Mage_Core_Block_Abstract::getIsAnonymous()
Mage_Core_Block_Abstract::getLayout()
Mage_Core_Block_Abstract::getMessagesBlock()
Mage_Core_Block_Abstract::getModuleName()
Mage_Core_Block_Abstract::getNameInLayout()
Mage_Core_Block_Abstract::getParentBlock()
Mage_Core_Block_Abstract::getRequest()
Mage_Core_Block_Abstract::getSkinUrl()
Mage_Core_Block_Abstract::getSortedChildBlocks()
Mage_Core_Block_Abstract::getSortedChildren()
Mage_Core_Block_Abstract::getUrl()
Mage_Core_Block_Abstract::getUrlBase64()
Mage_Core_Block_Abstract::getUrlEncoded()
Mage_Core_Block_Abstract::helper()
Mage_Core_Block_Abstract::htmlEscape()
Mage_Core_Block_Abstract::insert()
Mage_Core_Block_Abstract::jsQuoteEscape()
Mage_Core_Block_Abstract::setAnonSuffix()
Mage_Core_Block_Abstract::setAttribute()
Mage_Core_Block_Abstract::setBlockAlias()
Mage_Core_Block_Abstract::setChild()
Mage_Core_Block_Abstract::setFrameTags()
Mage_Core_Block_Abstract::setIsAnonymous()
Mage_Core_Block_Abstract::setLayout()
Mage_Core_Block_Abstract::setMessagesBlock()
Mage_Core_Block_Abstract::setNameInLayout()
Mage_Core_Block_Abstract::setParentBlock()
Mage_Core_Block_Abstract::stripTags()
Mage_Core_Block_Abstract::toHtml()
Mage_Core_Block_Abstract::unsetCallChild()
Mage_Core_Block_Abstract::unsetChild()
Mage_Core_Block_Abstract::unsetChildren()
Mage_Core_Block_Abstract::urlEscape()
Mage_Core_Block_Abstract::_afterCacheUrl()
Mage_Core_Block_Abstract::_afterToHtml()
Mage_Core_Block_Abstract::_beforeCacheUrl()
Mage_Core_Block_Abstract::_beforeChildToHtml()
Mage_Core_Block_Abstract::_beforeToHtml()
Mage_Core_Block_Abstract::_construct()
Mage_Core_Block_Abstract::_getChildHtml()
Mage_Core_Block_Abstract::_getUrlModel()
Mage_Core_Block_Abstract::_getUrlModelClass()
Mage_Core_Block_Abstract::_loadCache()
Mage_Core_Block_Abstract::_prepareLayout()
Mage_Core_Block_Abstract::_saveCache()
Mage_Core_Block_Abstract::_toHtml()
Mage_Core_Block_Abstract::__()
Class Constants
CACHE_TAGS = 'BACKEND_MAINMENU' (line 36)

Inherited Constants

Inherited from Mage_Core_Block_Abstract

Mage_Core_Block_Abstract::CACHE_GROUP

Documentation generated on Fri, 11 Feb 2011 17:08:24 +0200 by phpDocumentor 1.4.3