Class Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection

Description

Catalog category flat collection

  • author: Magento Core Team <core@magentocommerce.com>
  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

Located in /Catalog/Model/Resource/Eav/Mysql4/Category/Flat/Collection.php (line 35)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection
Variable Summary
string $_eventObject
string $_eventPrefix
integer $_storeId
Method Summary
Variables
Methods
addAttributeToFilter (line 280)

Emulate simple add attribute filter to collection

  • access: public
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection addAttributeToFilter (string $attribute, [mixed $condition = null])
  • string $attribute
  • mixed $condition
addAttributeToSelect (line 213)

Add attribute to select

  • access: public
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection addAttributeToSelect ([array|string $attribute = '*'])
  • array|string $attribute
addAttributeToSort (line 264)

Add attribute to sort order

  • access: public
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection addAttributeToSort (string $attribute, [string $dir = 'asc'])
  • string $attribute
  • string $dir
addIdFilter (line 80)

Add filter by entity id(s).

  • access: public
  • mixed $categoryIds
addIsActiveFilter (line 193)
  • access: public
void addIsActiveFilter ()
addLevelFilter (line 318)
  • access: public
void addLevelFilter ( $level)
  • $level
addNameToResult (line 201)
  • access: public
void addNameToResult ()
addOrderField (line 324)
  • access: public
void addOrderField ( $field)
  • $field
addParentPathFilter (line 160)

Add filter by path to collection

  • access: public
  • string $parent
addPathsFilter (line 300)
  • access: public
void addPathsFilter ( $paths)
  • $paths
addSortedField (line 183)

Set field to sort by

  • access: public
  • string $sorted
addStoreFilter (line 171)

Add store filter

  • access: public
addUrlRewriteToResult (line 289)
  • access: public
void addUrlRewriteToResult ()
getResource (line 252)

Retrieve resource instance

  • access: public

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Get resource instance
getStoreId (line 146)

Return store id.

If store id is not set yet, return store of application

  • access: public
integer getStoreId ()
setPage (line 337)

Set collection page start and records to show

  • access: public
Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat_Collection setPage (integer $pageNum, integer $pageSize)
  • integer $pageNum
  • integer $pageSize
setStoreId (line 134)

Set store id

  • access: public
  • integer $storeId
_afterLoad (line 119)

After collection load

  • access: protected

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Redeclare after load method for specifying collection items original data
_beforeLoad (line 107)

Before collection load

  • access: protected

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Redeclare before load method for adding event
_construct (line 59)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here
_initSelect (line 65)
  • access: protected
void _initSelect ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Init collection select

Inherited Methods

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:58:05 +0200 by phpDocumentor 1.4.3