Class Mage_Adminhtml_Block_Catalog_Category_Tree

Description

Categories tree block

Located in /Adminhtml/Block/Catalog/Category/Tree.php (line 35)

Varien_Object
   |
   --Mage_Core_Block_Abstract
      |
      --Mage_Core_Block_Template
         |
         --Mage_Adminhtml_Block_Template
            |
            --Mage_Adminhtml_Block_Catalog_Category_Abstract
               |
               --Mage_Adminhtml_Block_Catalog_Category_Tree
Direct descendents
Class Description
Mage_Adminhtml_Block_Catalog_Category_Checkboxes_Tree Categories tree with checkboxes
Mage_Adminhtml_Block_Catalog_Category_Widget_Chooser Category chooser for Wysiwyg CMS widget
Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Categories Product categories tab
Variable Summary
Method Summary
Mage_Adminhtml_Block_Catalog_Category_Tree __construct ()
string buildNodeName (Varien_Object $node)
boolean canAddRootCategory ()
boolean canAddSubCategory ()
string getBreadcrumbsJavascript (string $path, string $javascriptVarName)
void getLoadTreeUrl ([ $expanded = null])
void getMoveUrl ()
void getNodesUrl ()
void getTree ([ $parenNodeCategory = null])
void getTreeJson ([ $parenNodeCategory = null])
boolean isClearEdit ()
string _getNodeJson (Varien_Data_Tree_Node|array $node, [int $level = 0])
void _isCategoryMoveable ( $node)
void _isParentSelectedCategory ( $node)
void _prepareLayout ()
Variables
Methods
Constructor __construct (line 40)
  • access: public
Mage_Adminhtml_Block_Catalog_Category_Tree __construct ()

Redefinition of:
Mage_Adminhtml_Block_Catalog_Category_Abstract::__construct()

Redefined in descendants as:
buildNodeName (line 268)

Get category name

  • access: public
string buildNodeName (Varien_Object $node)
  • Varien_Object $node
canAddRootCategory (line 318)

Check availability of adding root category

  • access: public
boolean canAddRootCategory ()
canAddSubCategory (line 338)

Check availability of adding sub category

  • access: public
boolean canAddSubCategory ()
getAddRootButtonHtml (line 111)
  • access: public
void getAddRootButtonHtml ()
getAddSubButtonHtml (line 116)
  • access: public
void getAddSubButtonHtml ()
getBreadcrumbsJavascript (line 188)

Get JSON of array of categories, that are breadcrumbs for specified category path

  • access: public
string getBreadcrumbsJavascript (string $path, string $javascriptVarName)
  • string $path
  • string $javascriptVarName
getCategoryCollection (line 92)
  • access: public
void getCategoryCollection ()

Redefined in descendants as:
getCollapseButtonHtml (line 126)
  • access: public
void getCollapseButtonHtml ()
getExpandButtonHtml (line 121)
  • access: public
void getExpandButtonHtml ()
getIsWasExpanded (line 157)
  • access: public
void getIsWasExpanded ()
getLoadTreeUrl (line 136)
  • access: public
void getLoadTreeUrl ([ $expanded = null])
  • $expanded

Redefined in descendants as:
getMoveUrl (line 162)
  • access: public
void getMoveUrl ()
getNodesUrl (line 147)
  • access: public
void getNodesUrl ()
getStoreSwitcherHtml (line 131)
  • access: public
void getStoreSwitcherHtml ()
getSwitchTreeUrl (line 152)
  • access: public
void getSwitchTreeUrl ()
getTree (line 167)
  • access: public
void getTree ([ $parenNodeCategory = null])
  • $parenNodeCategory
getTreeJson (line 174)
  • access: public
void getTreeJson ([ $parenNodeCategory = null])
  • $parenNodeCategory
isClearEdit (line 308)

Check if page loaded by outside link to category edit

  • access: public
boolean isClearEdit ()
_getDefaultStoreId (line 87)
  • access: protected
void _getDefaultStoreId ()
_getNodeJson (line 216)

Get JSON of a tree node or an associative array

  • access: protected
string _getNodeJson (Varien_Data_Tree_Node|array $node, [int $level = 0])
  • Varien_Data_Tree_Node|array $node
  • int $level

Redefined in descendants as:
_isCategoryMoveable (line 277)
  • access: protected
void _isCategoryMoveable ( $node)
  • $node
_isParentSelectedCategory (line 291)
  • access: protected
void _isParentSelectedCategory ( $node)
  • $node

Redefined in descendants as:
_prepareLayout (line 48)
  • access: protected
void _prepareLayout ()

Redefinition of:
Mage_Core_Block_Abstract::_prepareLayout()
Preparing global layout

Redefined in descendants as:

Inherited Methods

Inherited From Mage_Adminhtml_Block_Catalog_Category_Abstract

Mage_Adminhtml_Block_Catalog_Category_Abstract::__construct()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getCategory()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getCategoryId()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getCategoryName()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getCategoryPath()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getEditUrl()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getNode()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getRoot()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getRootByIds()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getRootIds()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getSaveUrl()
Mage_Adminhtml_Block_Catalog_Category_Abstract::getStore()
Mage_Adminhtml_Block_Catalog_Category_Abstract::hasStoreRootCategory()

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

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