Class Mage_Catalog_Model_Resource_Category_Tree
Category tree model
- Varien_Data_Tree_Dbp
- Mage_Catalog_Model_Resource_Category_Tree
Direct known subclasses
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Tree
Package: Mage\Catalog
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Resource/Category/Tree.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Catalog/Model/Resource/Category/Tree.php
public
|
|
public
|
|
public
integer
|
|
public
|
#
addCollectionData(
Enter description here... |
public
|
|
protected
|
|
public
array
|
|
protected
array
|
#
_getDisabledIds(
Return disable category ids |
protected
integer
|
|
protected
array
|
#
_getInactiveItemIds(
Retrieve inactive category item ids |
protected
boolean
|
|
public
|
|
public
|
#
setCollection(
Enter description here... |
protected
|
|
protected
|
#
_beforeMove( unknown_type $category, Varien_Data_Tree_Node $newParent, Varien_Data_Tree_Node $prevNode )
Move tree before |
public
|
|
protected
|
#
_afterMove( unknown_type $category, Varien_Data_Tree_Node $newParent, Varien_Data_Tree_Node $prevNode )
Move tree after |
public
|
|
public
array
|
#
loadBreadcrumbsArray( string $path, boolean $addCollectionData = true, boolean $withRootNode = false )
Load array of category parents |
protected
|
#
_updateAnchorProductCount( array & $data )
Replace products count with self products count, if category is non-anchor |
protected
Zend_Db_Select
|
#
_createCollectionDataSelect( boolean $sorted = true, array $optionalAttributes = array() )
Obtain select for categories with attributes. By default everything from entity table is selected
Also the correct product_count is selected, depending on is the category anchor or not. |
public
array
|
#
getExistingCategoryIdsBySpecifiedIds( array $ids )
Get real existing category ids by specified ids |
string |
ID_FIELD
|
'id' |
|
string |
PATH_FIELD
|
'path' |
|
string |
ORDER_FIELD
|
'order' |
|
string |
LEVEL_FIELD
|
'level' |
protected
|
$_collection |
|
#
Categories resource collection |
protected
integer
|
$_isActiveAttributeId | null |
#
Id of 'is_active' category attribute |
protected
boolean
|
$_joinUrlRewriteIntoCollection | false |
#
Join URL rewrites data to collection flag |
protected
array
|
$_inactiveCategoryIds | null |
#
Inactive categories ids |
protected
integer
|
$_storeId | null |
#
store id |