Class Mage_Catalog_Model_Category
Catalog category
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Catalog_Model_Abstract
- Mage_Catalog_Model_Category
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/Category.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/Category.php
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
Varien_Data_Collection_Db
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
string
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
array
|
|
public
array
|
|
public
array
|
|
private
|
|
public
array|string
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
array
|
#
getPathIds( )
Get array categories ids which are part of category path Result array contain id of current category because it is part of the path |
public
integer
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
protected
|
|
public
array
|
|
public
integer
|
|
public
mixed
|
#
getCategories( integer $parent, integer $recursionLevel = 0, boolean $sorted = false, boolean $asCollection = false, boolean $toLoad = true )
Retrieve categories by parent |
public
array
|
|
public
array
|
|
public
|
#
getParentDesignCategory( )
Return parent category of current category with own custom design settings |
public
boolean
|
|
public
null|array
|
|
public
array
|
|
public
string
|
|
public
boolean|array
|
|
protected
|
string |
ENTITY
|
'catalog_category' |
#
Entity code. Can be used as part of method name for entity processing |
string |
DM_PRODUCT
|
'PRODUCTS' |
#
Category display modes |
string |
DM_PAGE
|
'PAGE' |
|
string |
DM_MIXED
|
'PRODUCTS_AND_PAGE' |
|
integer |
TREE_ROOT_ID
|
1 |
|
string |
CACHE_TAG
|
'catalog_category' |
DEFAULT_STORE_ID
|
protected
string
|
$_eventPrefix | 'catalog_category' |
#
Prefix of model events names |
protected
string
|
$_eventObject | 'category' |
#
Parameter name in event |
protected
string
|
$_cacheTag |
|
#
Model cache tag for clear cache in after save and after delete |
protected static
|
$_url |
|
#
URL Model instance |
protected static
|
$_urlRewrite |
|
#
URL rewrite model |
protected
boolean
|
$_useFlatResource | false |
#
Use flat resource model flag |
private
array
|
$_designAttributes | array(
'custom_design',
'custom_design_from',
'custom_design_to',
'page_layout',
'custom_layout_update',
'custom_apply_to_products'
) |
#
Category design attributes |
protected
|
$_treeModel | null |
#
Category tree model |
$_defaultValues,
$_isDeleteable,
$_isReadonly,
$_lockedAttributes,
$_storeValuesFlags
|
$_dataSaveAllowed,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|