Magento
NOTICE OF LICENSE
This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
DISCLAIMER
Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.
Located in /Core/Model/Mysql4/Collection/Abstract.php (line 28)
Varien_Data_Collection_Db | --Mage_Core_Model_Mysql4_Collection_Abstract
Name of event parameter
Name prefix of events that are dispatched by model
Fields to select in query
Fields to select changed flag
Fields initial fields to select like id_field
Store joined tables here
Collection main table
Model name
Reset items data changed flag
Resource instance
Resource model name
Collection constructor
Add attribute expression (SUM, COUNT, etc)
Example: ('sub_total', 'SUM({{attribute}})', 'revenue') Example: ('sub_total', 'SUM({{revenue}})', 'revenue')
For some functions like SUM use groupByAttribute.
Add field to select
Retrive all ids for collection
Retrieve main table
Get model instance
Get resource instance
Get Zend_Db_Select instance and applies fields to select if needed
Removes all fields from select
Removes field from select
Set flag data has changed to all collection items
Save all the entities in the collection
Set main collection table
Set model name for collection items
Set reset items data changed flag
Redeclare after load method for specifying collection items original data
Redeclare before load method for adding event
Check if cache can be used for collection
Initialization here
Redeclared for processing cache tags throw application object
Retrieve initial fields to select like id field
Standard resource collection initalization
Initialize initial fields to select like id field
Init collection select
Init fields for select
Load cached data for select
Save collection data to cache
Documentation generated on Fri, 11 Feb 2011 16:55:32 +0200 by phpDocumentor 1.4.3