Class Mage_Cms_Model_Mysql4_Page_Collection

Description

CMS page collection

  • author: Magento Core Team <[email protected]>
  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)

Located in /Cms/Model/Mysql4/Page/Collection.php (line 35)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Cms_Model_Mysql4_Page_Collection
Direct descendents
Class Description
Mage_XmlConnect_Model_Mysql4_Cms_Page_Collection Extended CMS page collection
Variable Summary
Method Summary
Varien_Db_Select getSelectCountSql ()
void setFirstStoreFlag ([ $flag = false])
array toOptionArray ()
array toOptionIdArray ()
void _afterLoad ()
void _construct ()
Variables
Methods
addStoreFilter (line 130)

Add filter by store

  • access: public
Mage_Cms_Model_Mysql4_Page_Collection addStoreFilter (int|Mage_Core_Model_Store $store, [ $withAdmin = true])
getSelectCountSql (line 160)

Get SQL for get record count.

Extra group by strip added.

  • access: public
Varien_Db_Select getSelectCountSql ()
setFirstStoreFlag (line 87)
  • access: public
void setFirstStoreFlag ([ $flag = false])
  • $flag
toOptionArray (line 54)

deprecated after 1.4.0.1, use toOptionIdArray()

  • access: public
array toOptionArray ()
toOptionIdArray (line 65)

Returns pairs identifier - title for unique identifiers and pairs identifier|page_id - title for non-unique after first

  • access: public
array toOptionIdArray ()

Redefined in descendants as:
_afterLoad (line 93)
  • access: protected
void _afterLoad ()

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

Declare base table and mapping of some fields

  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here
_renderFiltersBefore (line 142)

Join store relation table if there is store filter

  • access: protected
void _renderFiltersBefore ()

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:27 +0200 by phpDocumentor 1.4.3