Class Mage_Tag_Model_Mysql4_Tag_Collection

Description

Tag collection model

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

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

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Tag_Model_Mysql4_Tag_Collection
Variable Summary
mixed $_joinFlags
mixed $_map
Method Summary
void addCustomerFilter ( $customerId)
void addFieldToFilter ( $field, [ $condition = null])
void addProductFilter ( $productId)
void addStatusFilter ( $status)
Mage_Tag_Model_Mysql4_Tag_Collection addStoreFilter (array $storeId, [bool $allFilter = true])
void addSummary ( $storeId)
void addTagGroup ()
bool getJoinFlag ($table $table)
string getSelectCountSql ()
void joinRel ()
void limit ( $limit)
void load ([ $printQuery = false], [ $logQuery = false])
void setActiveFilter ()
void _construct ()
Variables
Methods
addCustomerFilter (line 296)
  • access: public
void addCustomerFilter ( $customerId)
  • $customerId
addFieldToFilter (line 204)
  • access: public
void addFieldToFilter ( $field, [ $condition = null])
  • $field
  • $condition
addPopularity (line 125)

Replacing popularity by sum of popularity and base_popularity

  • access: public
Mage_Tag_Model_Mysql4_Tag_Collection addPopularity ([int $limit = null])
  • int $limit
addProductFilter (line 287)
  • access: public
void addProductFilter ( $productId)
  • $productId
addStatusFilter (line 281)
  • access: public
void addStatusFilter ( $status)
  • $status
addStoreFilter (line 245)

Add filter by store

  • access: public
Mage_Tag_Model_Mysql4_Tag_Collection addStoreFilter (array $storeId, [bool $allFilter = true])
  • bool $allFilter
  • array $storeId: | int $storeId
addStoresVisibility (line 167)
  • access: public
void addStoresVisibility ()
addSummary (line 144)
  • access: public
void addSummary ( $storeId)
  • $storeId
addTagGroup (line 308)
  • access: public
void addTagGroup ()
getJoinFlag (line 94)

Get flag's status about joined table.

getFlag method must be used in future.

  • deprecated: after 1.3.2.3
  • access: public
bool getJoinFlag ($table $table)
  • $table $table
getSelectCountSql (line 223)

Get sql for get record count

  • access: public
string getSelectCountSql ()
joinRel (line 315)
  • access: public
void joinRel ()
limit (line 113)
  • access: public
void limit ( $limit)
  • $limit
load (line 60)
  • access: public
void load ([ $printQuery = false], [ $logQuery = false])
  • $printQuery
  • $logQuery
setActiveFilter (line 271)
  • access: public
void setActiveFilter ()
setJoinFlag (line 80)

Set flag about joined table.

setFlag method must be used in future.

  • deprecated: after 1.3.2.3
  • access: public
Mage_Tag_Model_Mysql4_Tag_Collection setJoinFlag (string $table)
  • string $table
unsetJoinFlag (line 107)

Unset value of join flag.

Set false (bool) value to flag instead in future.

  • deprecated: after 1.3.2.3
  • access: public
Mage_Tag_Model_Mysql4_Tag_Collection unsetJoinFlag ([$table $table = null])
  • $table $table
_addStoresVisibility (line 173)
  • access: protected
void _addStoresVisibility ()
_construct (line 55)
  • access: protected
void _construct ()

Redefinition of:
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Initialization here

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