Class Mage_Eav_Model_Entity_Collection_Abstract
Entity/Attribute/Model - collection abstract
- Varien_Data_Collection_Db
- Mage_Eav_Model_Entity_Collection_Abstract
Direct known subclasses
Mage_Catalog_Model_Resource_Collection_Abstract, Mage_Customer_Model_Resource_Address_Collection, Mage_Sales_Model_Entity_Order_Invoice_Collection, Mage_Sales_Model_Entity_Order_Invoice_Comment_Collection, Mage_Sales_Model_Entity_Order_Invoice_Item_Collection, Mage_Sales_Model_Entity_Order_Item_Collection, Mage_Sales_Model_Entity_Order_Payment_Collection, Mage_Sales_Model_Entity_Order_Shipment_Collection, Mage_Sales_Model_Entity_Order_Shipment_Comment_Collection, Mage_Sales_Model_Entity_Order_Shipment_Item_Collection, Mage_Sales_Model_Entity_Order_Shipment_Track_Collection, Mage_Sales_Model_Entity_Order_Status_History_Collection, Mage_Customer_Model_Resource_Customer_Collection, Mage_Sales_Model_Entity_Quote_Address_Collection, Mage_Sales_Model_Entity_Quote_Address_Item_Collection, Mage_Sales_Model_Entity_Quote_Address_Rate_Collection, Mage_Sales_Model_Entity_Quote_Collection, Mage_Sales_Model_Entity_Quote_Item_Collection, Mage_Sales_Model_Entity_Quote_Payment_Collection, Mage_Customer_Model_Resource_Wishlist_Collection, Mage_Eav_Model_Entity_Collection, Mage_Sales_Model_Entity_Order_Address_Collection, Mage_Sales_Model_Entity_Order_Collection, Mage_Sales_Model_Entity_Order_Creditmemo_Collection, Mage_Sales_Model_Entity_Order_Creditmemo_Comment_Collection, Mage_Sales_Model_Entity_Order_Creditmemo_Item_CollectionIndirect known subclasses
Mage_Bundle_Model_Mysql4_Selection_Collection, Mage_Bundle_Model_Resource_Selection_Collection, Mage_Catalog_Model_Resource_Product_Compare_Item_Collection, Mage_Catalog_Model_Resource_Product_Link_Product_Collection, Mage_Catalog_Model_Resource_Product_Type_Configurable_Product_Collection, Mage_CatalogSearch_Model_Mysql4_Advanced_Collection, Mage_CatalogSearch_Model_Mysql4_Fulltext_Collection, Mage_CatalogSearch_Model_Mysql4_Search_Collection, Mage_CatalogSearch_Model_Resource_Advanced_Collection, Mage_CatalogSearch_Model_Resource_Fulltext_Collection, Mage_CatalogSearch_Model_Resource_Search_Collection, Mage_Customer_Model_Entity_Address_Collection, Mage_Catalog_Model_Resource_Category_Collection, Mage_Customer_Model_Entity_Customer_Collection, Mage_Customer_Model_Entity_Wishlist_Collection, Mage_ProductAlert_Model_Mysql4_Price_Customer_Collection, Mage_ProductAlert_Model_Mysql4_Stock_Customer_Collection, Mage_ProductAlert_Model_Resource_Price_Customer_Collection, Mage_ProductAlert_Model_Resource_Stock_Customer_Collection, Mage_Reports_Model_Mysql4_Accounts_Collection, Mage_Reports_Model_Mysql4_Coupons_Collection, Mage_Reports_Model_Mysql4_Customer_Collection, Mage_Reports_Model_Mysql4_Invoiced_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Collection, Mage_Reports_Model_Mysql4_Product_Collection, Mage_Reports_Model_Mysql4_Product_Downloads_Collection, Mage_Reports_Model_Mysql4_Product_Index_Collection_Abstract, Mage_Reports_Model_Mysql4_Product_Index_Compared_Collection, Mage_Reports_Model_Mysql4_Product_Index_Viewed_Collection, Mage_Reports_Model_Mysql4_Product_Lowstock_Collection, Mage_Reports_Model_Mysql4_Product_Ordered_Collection, Mage_Reports_Model_Mysql4_Product_Sold_Collection, Mage_Reports_Model_Mysql4_Product_Viewed_Collection, Mage_Reports_Model_Mysql4_Refunded_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Collection_Abstract, Mage_Reports_Model_Mysql4_Review_Product_Collection, Mage_Reports_Model_Mysql4_Shipping_Collection, Mage_Reports_Model_Mysql4_Tag_Customer_Collection, Mage_Reports_Model_Mysql4_Tag_Product_Collection, Mage_Reports_Model_Mysql4_Tax_Collection, Mage_Reports_Model_Mysql4_Wishlist_Product_Collection, Mage_Reports_Model_Resource_Accounts_Collection, Mage_Reports_Model_Resource_Coupons_Collection, Mage_Reports_Model_Resource_Customer_Collection, Mage_Reports_Model_Resource_Invoiced_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection, Mage_Reports_Model_Resource_Product_Collection, Mage_Reports_Model_Resource_Product_Downloads_Collection, Mage_Reports_Model_Resource_Product_Index_Collection_Abstract, Mage_Reports_Model_Resource_Product_Index_Compared_Collection, Mage_Reports_Model_Resource_Product_Index_Viewed_Collection, Mage_Reports_Model_Resource_Product_Lowstock_Collection, Mage_Reports_Model_Resource_Product_Ordered_Collection, Mage_Reports_Model_Resource_Product_Sold_Collection, Mage_Reports_Model_Resource_Product_Viewed_Collection, Mage_Reports_Model_Resource_Refunded_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Compare_Item_Collection, Mage_Reports_Model_Resource_Review_Product_Collection, Mage_Reports_Model_Resource_Shipping_Collection, Mage_Reports_Model_Resource_Shopcart_Product_Collection, Mage_Reports_Model_Resource_Tag_Customer_Collection, Mage_Reports_Model_Resource_Tag_Product_Collection, Mage_Reports_Model_Resource_Tax_Collection, Mage_Reports_Model_Resource_Wishlist_Product_Collection, Mage_Review_Model_Mysql4_Review_Product_Collection, Mage_Review_Model_Resource_Review_Product_Collection, Mage_Tag_Model_Entity_Customer_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Link_Product_Collection, Mage_Tag_Model_Mysql4_Customer_Collection, Mage_Tag_Model_Mysql4_Product_Collection, Mage_Tag_Model_Resource_Customer_Collection, Mage_Tag_Model_Resource_Product_Collection, Mage_Wishlist_Model_Mysql4_Product_Collection, Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Type_Configurable_Product_Collection, Mage_Catalog_Model_Resource_Product_CollectionPackage: Mage\Eav
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/Eav/Model/Entity/Collection/Abstract.php
public
|
|
protected
|
|
public
string
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addAttributeToFilter(
Add attribute filter to collection |
public
|
#
addFieldToFilter( mixed $attribute, mixed $condition = null )
Wrapper for compatibility with Varien_Data_Collection_Db |
public
|
#
addAttributeToSort( string $attribute, string $dir = self::SORT_ORDER_ASC )
Add attribute to sort order |
protected
string|Zend_Db_Expr
|
|
public
|
#
addAttributeToSelect( array|string|integer|
Add attribute to entities in collection |
public
|
|
public
|
|
public
|
#
addExpressionAttributeToSelect( string $alias, string $expression, string $attribute )
Add attribute expression (SUM, COUNT, etc) |
public
|
|
public
|
#
joinAttribute( string $alias, string|
Add attribute from joined entity to select |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
string
|
|
public
|
|
public
|
#
_loadEntities( mixed $printQuery = false, mixed $logQuery = false )
Load entities records into items |
public
|
#
_loadAttributes( mixed $printQuery = false, mixed $logQuery = false )
Load attributes into loaded entities |
protected
|
#
_getLoadAttributesSelect( string $table, mixed $attributeIds = array() )
Retrieve attributes load select |
protected
Varien_Db_Select
|
|
protected
|
|
protected
string
|
|
protected
string
|
|
protected
|
#
_addAttributeJoin( string $attributeCode, string $joinType = 'inner' )
Add attribute value table to the join if it wasn't added previously |
protected
|
#
_joinAttributeToSelect( string $method, object $attribute, string $tableAlias, array $condition, string $fieldCode, string $fieldAlias )
Adding join statement to collection select instance |
protected
string
|
#
_getAttributeConditionSql( string $attribute, mixed $condition, string $joinType = 'inner' )
Get condition sql for the attribute |
public
|
|
public
array
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
public
string
|
protected
array
|
$_itemsById | array() |
#
Array of items with item id key |
protected
array
|
$_staticFields | array() |
#
Entity static fields |
protected
|
$_entity |
|
#
Entity object to define collection's attributes |
protected
array
|
$_selectEntityTypes | array() |
#
Entity types to be fetched for objects in collection |
protected
array
|
$_selectAttributes | array() |
#
Attributes to be fetched for objects in collection |
protected
array
|
$_filterAttributes | array() |
#
Attributes to be filtered order sorted by |
protected
array
|
$_joinEntities | array() |
#
Joined entities |
protected
array
|
$_joinAttributes | array() |
#
Joined attributes |
protected
array
|
$_joinFields | array() |
#
Joined fields data |
protected
boolean
|
$_useAnalyticFunction | false |
#
Use analytic function flag If true - allows to prepare final select with analytic functions |
protected
array
|
$_castToIntMap | array(
'validate-digits'
) |
#
Cast map for attribute order |