Mage_Shipping_Model_Rate_Abstract Class Reference

Inheritance diagram for Mage_Shipping_Model_Rate_Abstract:

Mage_Core_Model_Abstract Varien_Object Mage_Sales_Model_Quote_Address_Rate

List of all members.

Public Member Functions

 getCarrierInstance ()

Static Protected Attributes

static $_instances


Detailed Description

Definition at line 28 of file Abstract.php.


Member Function Documentation

getCarrierInstance (  ) 

Definition at line 32 of file Abstract.php.

00033     {
00034         $code = $this->getCarrier();
00035         if (!isset(self::$_instances[$code])) {
00036             self::$_instances[$code] = Mage::getModel('shipping/config')->getCarrierInstance($code);
00037         }
00038         return self::$_instances[$code];
00039     }


Member Data Documentation

$_instances [static, protected]

Definition at line 30 of file Abstract.php.


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

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