Mage_Sales_Helper_Data Class Reference

Inheritance diagram for Mage_Sales_Helper_Data:

Mage_Core_Helper_Data Mage_Core_Helper_Abstract

List of all members.

Public Member Functions

 checkQuoteAmount (Mage_Sales_Model_Quote $quote, $amount)
 canSendNewOrderConfirmationEmail ($store=null)
 canSendNewOrderEmail ($store=null)
 canSendOrderCommentEmail ($store=null)
 canSendNewShipmentEmail ($store=null)
 canSendShipmentCommentEmail ($store=null)
 canSendNewInvoiceEmail ($store=null)
 canSendInvoiceCommentEmail ($store=null)
 canSendNewCreditmemoEmail ($store=null)
 canSendCreditmemoCommentEmail ($store=null)

Public Attributes

const MAXIMUM_AVAILABLE_NUMBER = 99999999


Detailed Description

Sales module base helper

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Data.php.


Member Function Documentation

canSendCreditmemoCommentEmail ( store = null  ) 

Definition at line 87 of file Data.php.

canSendInvoiceCommentEmail ( store = null  ) 

Definition at line 77 of file Data.php.

canSendNewCreditmemoEmail ( store = null  ) 

Definition at line 82 of file Data.php.

canSendNewInvoiceEmail ( store = null  ) 

Definition at line 72 of file Data.php.

canSendNewOrderConfirmationEmail ( store = null  ) 

Definition at line 47 of file Data.php.

canSendNewOrderEmail ( store = null  ) 

Definition at line 52 of file Data.php.

00053     {
00054         return $this->canSendNewOrderConfirmationEmail($store);
00055     }

canSendNewShipmentEmail ( store = null  ) 

Definition at line 62 of file Data.php.

canSendOrderCommentEmail ( store = null  ) 

Definition at line 57 of file Data.php.

canSendShipmentCommentEmail ( store = null  ) 

Definition at line 67 of file Data.php.

checkQuoteAmount ( Mage_Sales_Model_Quote quote,
amount 
)

Definition at line 36 of file Data.php.

00037     {
00038         if (!$quote->getHasError() && ($amount>=self::MAXIMUM_AVAILABLE_NUMBER)) {
00039             $quote->setHasError(true);
00040             $quote->addMessage(
00041                 $this->__('Some items have quantities exceeding allowed quantities. Please select a lower quantity to checkout.')
00042             );
00043         }
00044         return $this;
00045     }


Member Data Documentation

const MAXIMUM_AVAILABLE_NUMBER = 99999999

Definition at line 34 of file Data.php.


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

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