Public Member Functions | |
getMethod () | |
getAddress () | |
isShow () | |
Protected Member Functions | |
_construct () |
Definition at line 32 of file Shipping.php.
_construct | ( | ) | [protected] |
Internal constructor, that is called from real constructor
Please override this one instead of overriding real __construct constructor
Please override this one instead of overriding real __construct constructor
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 34 of file Shipping.php.
00035 { 00036 $this->getCheckout()->setStepData('shipping', array( 00037 'label' => Mage::helper('checkout')->__('Shipping Information'), 00038 'is_show' => $this->isShow() 00039 )); 00040 00041 parent::_construct(); 00042 }
getAddress | ( | ) |
Definition at line 49 of file Shipping.php.
00050 { 00051 if (!$this->isCustomerLoggedIn()) { 00052 return $this->getQuote()->getShippingAddress(); 00053 } else { 00054 return Mage::getModel('sales/quote_address'); 00055 } 00056 }
getMethod | ( | ) |
Definition at line 44 of file Shipping.php.
00045 { 00046 return $this->getQuote()->getCheckoutMethod(); 00047 }
isShow | ( | ) |
Retrieve is allow and show block
Reimplemented from Mage_Checkout_Block_Onepage_Abstract.
Definition at line 63 of file Shipping.php.
00064 { 00065 return !$this->getQuote()->isVirtual(); 00066 }