Class Mage_Sales_Model_Entity_Sale_Collection

Description

Implements interfaces:

  • IteratorAggregate (internal interface)

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 /Sales/Model/Entity/Sale/Collection.php (line 28)

Varien_Object
   |
   --Mage_Sales_Model_Entity_Sale_Collection
Variable Summary
Method Summary
Mage_Sales_Model_Entity_Sale_Collection __construct ()
array getItems ()
ArrayIterator getIterator ()
Zend_Db_Select getSelect ()
Varien_Object getTotals ()
void load ([ $printQuery = false], [ $logQuery = false])
Mage_Sales_Model_Entity_Order_Attribute_Collection_Paid printLogQuery ([boolean $printQuery = false], [boolean $logQuery = false], [ $sql = null])
void setCustomerFilter ( $customer)
Variables
Mage_Customer_Model_Customer $_customer (line 61)

Enter description here...

  • access: protected
Mage_Eav_Model_Entity_Abstract $_entity (line 47)

Entity attribute

  • access: protected
mixed $_items = array() (line 38)
  • access: protected
Zend_Db_Adapter_Abstract $_read (line 36)

Read connection

  • access: protected
Zend_Db_Select $_select (line 54)

Collection's Zend_Db_Select object

  • access: protected
mixed $_totals = array('lifetime' => 0, 'num_orders' => 0) (line 40)
  • access: protected
Methods
Constructor __construct (line 63)
  • access: public
Mage_Sales_Model_Entity_Sale_Collection __construct ()
getAttribute (line 159)

Enter description here...

  • access: public
  • $attr
getEntity (line 169)

Enter description here...

  • access: public
getItems (line 189)

Enter description here...

  • access: public
array getItems ()
getIterator (line 179)

Enter description here...

  • access: public
ArrayIterator getIterator ()

Implementation of:
IteratorAggregate::getIterator
getSelect (line 149)

Get zend db select instance

  • access: public
Zend_Db_Select getSelect ()
getTotals (line 199)

Enter description here...

  • access: public
Varien_Object getTotals ()
load (line 75)
  • access: public
void load ([ $printQuery = false], [ $logQuery = false])
  • $printQuery
  • $logQuery
printLogQuery (line 133)

Print and/or log query

  • access: public
Mage_Sales_Model_Entity_Order_Attribute_Collection_Paid printLogQuery ([boolean $printQuery = false], [boolean $logQuery = false], [ $sql = null])
  • boolean $printQuery
  • boolean $logQuery
  • $sql
setCustomerFilter (line 69)
  • access: public
void setCustomerFilter ( $customer)

Documentation generated on Fri, 11 Feb 2011 16:58:49 +0200 by phpDocumentor 1.4.3