Mage_Sales_Model_Entity_Order_Invoice_Collection Class Reference

Inheritance diagram for Mage_Sales_Model_Entity_Order_Invoice_Collection:

Mage_Eav_Model_Entity_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 setOrderFilter ($order)

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 35 of file Collection.php.


Member Function Documentation

_construct (  )  [protected]

Initialize collection

Reimplemented from Mage_Eav_Model_Entity_Collection_Abstract.

Definition at line 37 of file Collection.php.

00038     {
00039         $this->_init('sales/order_invoice');
00040     }

setOrderFilter ( order  ) 

Definition at line 42 of file Collection.php.

00043     {
00044         if ($order instanceof Mage_Sales_Model_Order) {
00045             $this->addAttributeToFilter('order_id', $order->getId());
00046         }
00047         else {
00048             $this->addAttributeToFilter('order_id', $order);
00049         }
00050 
00051         return $this;
00052     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:41 2009 for Magento by  doxygen 1.5.8