Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Tag_Block_All
  • Mage_Tag_Block_Customer_Recent
  • Mage_Tag_Block_Customer_Tags
  • Mage_Tag_Block_Customer_View
  • Mage_Tag_Block_Popular
  • Mage_Tag_Block_Product_List
  • Mage_Tag_Block_Product_Result
  • Mage_Tag_CustomerController
  • Mage_Tag_Helper_Data
  • Mage_Tag_IndexController
  • Mage_Tag_ListController
  • Mage_Tag_Model_Api
  • Mage_Tag_Model_Api_V2
  • Mage_Tag_Model_Entity_Customer_Collection
  • Mage_Tag_Model_Indexer_Summary
  • Mage_Tag_Model_Mysql4_Customer_Collection
  • Mage_Tag_Model_Mysql4_Indexer_Summary
  • Mage_Tag_Model_Mysql4_Popular_Collection
  • Mage_Tag_Model_Mysql4_Product_Collection
  • Mage_Tag_Model_Mysql4_Tag
  • Mage_Tag_Model_Mysql4_Tag_Collection
  • Mage_Tag_Model_Mysql4_Tag_Relation
  • Mage_Tag_Model_Resource_Customer_Collection
  • Mage_Tag_Model_Resource_Indexer_Summary
  • Mage_Tag_Model_Resource_Popular_Collection
  • Mage_Tag_Model_Resource_Product_Collection
  • Mage_Tag_Model_Resource_Tag
  • Mage_Tag_Model_Resource_Tag_Collection
  • Mage_Tag_Model_Resource_Tag_Relation
  • Mage_Tag_Model_Session
  • Mage_Tag_Model_Tag
  • Mage_Tag_Model_Tag_Relation
  • Mage_Tag_ProductController
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Tag_Model_Resource_Customer_Collection

Tags customer collection

Varien_Data_Collection_Db
Extended by Mage_Eav_Model_Entity_Collection_Abstract
Extended by Mage_Customer_Model_Resource_Customer_Collection
Extended by Mage_Tag_Model_Resource_Customer_Collection

Direct known subclasses

Mage_Reports_Model_Resource_Tag_Customer_Collection, Mage_Tag_Model_Mysql4_Customer_Collection

Indirect known subclasses

Mage_Reports_Model_Mysql4_Tag_Customer_Collection
Package: Mage\Tag
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/Tag/Model/Resource/Customer/Collection.php
Methods summary
public Mage_Tag_Model_Resource_Customer_Collection
# _initSelect( )

Prepare select

Prepare select

Returns

Mage_Tag_Model_Resource_Customer_Collection

Overrides

Mage_Eav_Model_Entity_Collection_Abstract::_initSelect()
public Mage_Tag_Model_Resource_Customer_Collection
# addTagFilter( integer $tagId )

Adds filter by tag is

Adds filter by tag is

Parameters

$tagId
integer
$tagId

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addProductFilter( integer $productId )

adds filter by product id

adds filter by product id

Parameters

$productId
integer
$productId

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addStoreFilter( integer|array $storeId )

Apply filter by store id(s).

Apply filter by store id(s).

Parameters

$storeId
integer|array
$storeId

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addStatusFilter( integer $status )

Adds filter by status

Adds filter by status

Parameters

$status
integer
$status

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addDescOrder( )

Adds desc order by tag relation id

Adds desc order by tag relation id

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addGroupByTag( )

Adds grouping by tag id

Adds grouping by tag id

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addGroupByCustomer( )

Adds grouping by customer id

Adds grouping by customer id

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addGroupByCustomerProduct( )

Disables grouping

Disables grouping

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# addCustomerFilter( integer $customerId )

Adds filter by customer id

Adds filter by customer id

Parameters

$customerId
integer
$customerId

Returns

Mage_Tag_Model_Resource_Customer_Collection
protected
# _joinFields( )

Joins tables to select

Joins tables to select

public Varien_Db_Select
# getSelectCountSql( )

Gets number of rows

Gets number of rows

Returns

Varien_Db_Select

Overrides

Mage_Customer_Model_Resource_Customer_Collection::getSelectCountSql()
public Mage_Tag_Model_Resource_Customer_Collection
# addProductName( )

Adds Product names to select

Adds Product names to select

Returns

Mage_Tag_Model_Resource_Customer_Collection
public Mage_Tag_Model_Resource_Customer_Collection
# setOrder( string $attribute, string $dir = 'desc' )

Sets order by attribute

Sets order by attribute

Parameters

$attribute
string
$attribute
$dir
string
$dir

Returns

Mage_Tag_Model_Resource_Customer_Collection

Overrides

Mage_Eav_Model_Entity_Collection_Abstract::setOrder()
public Mage_Tag_Model_Resource_Customer_Collection
# setCountAttribute( string $value )

Sets attribute for count

Sets attribute for count

Parameters

$value
string
$value

Returns

Mage_Tag_Model_Resource_Customer_Collection
public string
# getCountAttribute( )

Gets attribure for count

Gets attribure for count

Returns

string
public Mage_Tag_Model_Resource_Customer_Collection
# addFieldToFilter( string $attribute, array $condition = null )

Adds field to filter

Adds field to filter

Parameters

$attribute
string
$attribute
$condition
array
$condition

Returns

Mage_Tag_Model_Resource_Customer_Collection

Overrides

Mage_Eav_Model_Entity_Collection_Abstract::addFieldToFilter()
Methods inherited from Mage_Customer_Model_Resource_Customer_Collection
_construct(), _getAllIdsSelect(), addNameToSelect(), groupByEmail()
Methods inherited from Mage_Eav_Model_Entity_Collection_Abstract
__construct(), _addAttributeJoin(), _addLoadAttributesSelectValues(), _afterLoad(), _getAttributeConditionSql(), _getAttributeFieldName(), _getAttributeTableAlias(), _getLoadAttributesSelect(), _init(), _joinAttributeToSelect(), _loadAttributes(), _loadEntities(), _prepareOrderExpression(), _prepareSelect(), _prepareStaticFields(), _renderOrders(), _reset(), _setItemAttributeValue(), addAttributeToFilter(), addAttributeToSelect(), addAttributeToSort(), addEntityTypeToSelect(), addExpressionAttributeToSelect(), addItem(), addStaticField(), delete(), exportToArray(), getAllIds(), getAllIdsSql(), getAttribute(), getEntity(), getLoadedIds(), getResource(), getRowIdFieldName(), getTable(), groupByAttribute(), importFromArray(), joinAttribute(), joinField(), joinTable(), load(), removeAttributeToSelect(), save(), setEntity(), setObject(), setPage(), setRowIdFieldName(), toArray()
Properties summary
protected boolean $_allowDisableGrouping true
#

Allows disabling grouping

Allows disabling grouping

protected string $_countAttribute 'tr.tag_id'
#

Count attribute for count sql

Count attribute for count sql

protected array $_joinFlags array()
#

Array with joined tables

Array with joined tables

Properties inherited from Mage_Eav_Model_Entity_Collection_Abstract
$_castToIntMap, $_entity, $_filterAttributes, $_itemsById, $_joinAttributes, $_joinEntities, $_joinFields, $_selectAttributes, $_selectEntityTypes, $_staticFields, $_useAnalyticFunction
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0