Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Frontend_Shipping Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Frontend_Shipping:

Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Frontend Mage_Eav_Model_Entity_Attribute_Frontend_Abstract Mage_Eav_Model_Entity_Attribute_Frontend_Interface

List of all members.

Public Member Functions

 fetchTotals (Mage_Sales_Model_Quote_Address $address)


Detailed Description

Definition at line 28 of file Shipping.php.


Member Function Documentation

fetchTotals ( Mage_Sales_Model_Quote_Address address  ) 

Reimplemented from Mage_Sales_Model_Mysql4_Quote_Address_Attribute_Frontend.

Definition at line 31 of file Shipping.php.

00032     {
00033         $amount = $address->getShippingAmount();
00034         if ($amount!=0) {
00035             $address->addTotal(array(
00036                 'code'=>'shipping',
00037                 'title'=>Mage::helper('sales')->__('Shipping & Handling').' ('.$address->getShippingDescription().')',
00038                 'value'=>$address->getShippingAmount()
00039             ));
00040         }
00041         return $this;
00042     }


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

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