Class Mage_Catalog_Block_Navigation

Description

Catalog navigation

Located in /Catalog/Block/Navigation.php (line 35)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Catalog_Block_Navigation
Variable Summary
Method Summary
string drawItem (Mage_Catalog_Model_Category $category, [int $level = 0], [boolean $last = false])
array getCacheKeyInfo ()
Varien_Data_Tree_Node_Collection getCurrentChildCategories ()
Varien_Data_Tree_Node_Collection getStoreCategories ()
bool isCategoryActive (Varien_Object $category)
string renderCategoriesMenuHtml ([int $level = 0], [string $outermostItemClass = ''], [string $childrenWrapClass = ''])
void _construct ()
string _getItemPosition (int $level)
string _renderCategoryMenuItemHtml (Mage_Catalog_Model_Category $category, [int $level = 0], [boolean $isLast = false], [boolean $isFirst = false], [boolean $isOutermost = false], [string $outermostItemClass = ''], [string $childrenWrapClass = ''], [boolean $noEventAttributes = false])
Variables
Methods
drawItem (line 333)

Render category to html

  • deprecated: deprecated after 1.4
  • access: public
string drawItem (Mage_Catalog_Model_Category $category, [int $level = 0], [boolean $last = false])
  • Mage_Catalog_Model_Category $category
  • int $level: Nesting level number
  • boolean $last: Whether ot not this item is last, affects list item class
drawOpenCategoryItem (line 370)

Enter description here...

  • access: public
string drawOpenCategoryItem (Mage_Catalog_Model_Category $category)
getCacheKeyInfo (line 66)

Get Key pieces for caching block content

  • access: public
array getCacheKeyInfo ()

Redefinition of:
Mage_Core_Block_Template::getCacheKeyInfo()
Get cache key informative items
getCategoryUrl (line 165)

Get url for category data

  • access: public
string getCategoryUrl (Mage_Catalog_Model_Category $category)
getCurrenCategoryKey (line 95)

Get current category key

  • access: public
mixed getCurrenCategoryKey ()
getCurrentCategory (line 343)

Enter description here...

  • access: public
Mage_Catalog_Model_Category getCurrentCategory ()
getCurrentCategoryPath (line 356)

Enter description here...

  • access: public
string getCurrentCategoryPath ()
getCurrentChildCategories (line 125)

Retrieve child categories of current category

  • access: public
Varien_Data_Tree_Node_Collection getCurrentChildCategories ()
getStoreCategories (line 114)

Get catagories of current store

  • access: public
Varien_Data_Tree_Node_Collection getStoreCategories ()
isCategoryActive (line 143)

Checkin activity of category

  • access: public
bool isCategoryActive (Varien_Object $category)
  • Varien_Object $category
renderCategoriesMenuHtml (line 414)

Render categories menu in HTML

  • access: public
string renderCategoriesMenuHtml ([int $level = 0], [string $outermostItemClass = ''], [string $childrenWrapClass = ''])
  • int $level: Level number for list item class to start from
  • string $outermostItemClass: Extra class of outermost list items
  • string $childrenWrapClass: If specified wraps children list in div with this class
_construct (line 53)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Block_Template::_construct()
Internal constructor, that is called from real constructor
_getCategoryInstance (line 151)
  • access: protected
void _getCategoryInstance ()
_getItemPosition (line 184)

Return item position representation in menu tree

  • access: protected
string _getItemPosition (int $level)
  • int $level
_renderCategoryMenuItemHtml (line 218)

Render category to html

  • access: protected
string _renderCategoryMenuItemHtml (Mage_Catalog_Model_Category $category, [int $level = 0], [boolean $isLast = false], [boolean $isFirst = false], [boolean $isOutermost = false], [string $outermostItemClass = ''], [string $childrenWrapClass = ''], [boolean $noEventAttributes = false])
  • Mage_Catalog_Model_Category $category
  • int $level: Nesting level number
  • boolean $isLast: Whether ot not this item is last, affects list item class
  • boolean $isFirst: Whether ot not this item is first, affects list item class
  • boolean $isOutermost: Whether ot not this item is outermost, affects list item class
  • string $outermostItemClass: Extra class of outermost list items
  • string $childrenWrapClass: If specified wraps children list in div with this class
  • boolean $noEventAttributes: Whether ot not to add on* attributes to list item

Inherited Methods

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

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