Class Mage_Sales_Model_Mysql4_Order_Comment_Collection_Abstract

Description

Flat sales order abstract comments collection, used as parent for: invoice, shipment, creditmemo

  • copyright: Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
  • abstract:

Located in /Sales/Model/Mysql4/Order/Comment/Collection/Abstract.php (line 31)

Varien_Data_Collection_Db
   |
   --Mage_Core_Model_Mysql4_Collection_Abstract
      |
      --Mage_Sales_Model_Mysql4_Collection_Abstract
         |
         --Mage_Sales_Model_Mysql4_Order_Comment_Collection_Abstract
Direct descendents
Class Description
Mage_Sales_Model_Mysql4_Order_Invoice_Comment_Collection Flat sales order invoice comment collection
Mage_Sales_Model_Mysql4_Order_Creditmemo_Comment_Collection Flat sales order creditmemo comments collection
Mage_Sales_Model_Mysql4_Order_Shipment_Comment_Collection Flat sales order shipment comments collection
Method Summary
Variables
Methods
addVisibleOnFrontFilter (line 53)

Adds filter to get only 'visible on front' comments

  • access: public
Mage_Sales_Model_Mysql4_Order_Comment_Collection_Abstract addVisibleOnFrontFilter ([int $flag = 1])
  • int $flag
setCreatedAtOrder (line 64)

Set created_at sort order

  • access: public
Mage_Sales_Model_Mysql4_Order_Comment_Collection_Abstract setCreatedAtOrder ([string $direction = 'desc'])
  • string $direction
setParentFilter (line 39)

Set filter on comments by their parent item

  • access: public

Inherited Methods

Inherited From Mage_Sales_Model_Mysql4_Collection_Abstract

Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToFilter()
Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToSelect()
Mage_Sales_Model_Mysql4_Collection_Abstract::addAttributeToSort()
Mage_Sales_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Sales_Model_Mysql4_Collection_Abstract::joinAttribute()
Mage_Sales_Model_Mysql4_Collection_Abstract::setPage()
Mage_Sales_Model_Mysql4_Collection_Abstract::_attributeToField()
Mage_Sales_Model_Mysql4_Collection_Abstract::_getAllIdsSelect()

Inherited From Mage_Core_Model_Mysql4_Collection_Abstract

Mage_Core_Model_Mysql4_Collection_Abstract::__construct()
Mage_Core_Model_Mysql4_Collection_Abstract::addExpressionFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::addFieldToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getAllIds()
Mage_Core_Model_Mysql4_Collection_Abstract::getMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::getModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getResource()
Mage_Core_Model_Mysql4_Collection_Abstract::getResourceModelName()
Mage_Core_Model_Mysql4_Collection_Abstract::getSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::getTable()
Mage_Core_Model_Mysql4_Collection_Abstract::join()
Mage_Core_Model_Mysql4_Collection_Abstract::removeAllFieldsFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::removeFieldFromSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::resetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::save()
Mage_Core_Model_Mysql4_Collection_Abstract::setMainTable()
Mage_Core_Model_Mysql4_Collection_Abstract::setModel()
Mage_Core_Model_Mysql4_Collection_Abstract::setResetItemsDataChanged()
Mage_Core_Model_Mysql4_Collection_Abstract::setResourceModel()
Mage_Core_Model_Mysql4_Collection_Abstract::_afterLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_beforeLoad()
Mage_Core_Model_Mysql4_Collection_Abstract::_canUseCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_construct()
Mage_Core_Model_Mysql4_Collection_Abstract::_getCacheTags()
Mage_Core_Model_Mysql4_Collection_Abstract::_getInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_init()
Mage_Core_Model_Mysql4_Collection_Abstract::_initInitialFieldsToSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelect()
Mage_Core_Model_Mysql4_Collection_Abstract::_initSelectFields()
Mage_Core_Model_Mysql4_Collection_Abstract::_loadCache()
Mage_Core_Model_Mysql4_Collection_Abstract::_saveCache()
Class Constants

Documentation generated on Fri, 11 Feb 2011 16:54:50 +0200 by phpDocumentor 1.4.3