Public Member Functions | |
getAddressCollection () | |
isAddressDefaultBilling ($address) | |
isAddressDefaultShipping ($address) | |
getEditAddressUrl ($address) | |
getSetAddressUrl ($address) | |
getAddNewUrl () | |
getBackUrl () | |
Protected Member Functions | |
_prepareLayout () | |
_getCheckout () |
Definition at line 34 of file Select.php.
_getCheckout | ( | ) | [protected] |
Definition at line 44 of file Select.php.
00045 { 00046 return Mage::getSingleton('checkout/type_multishipping'); 00047 }
_prepareLayout | ( | ) | [protected] |
Preparing global layout
You can redefine this method in child classes for changin layout
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 36 of file Select.php.
00037 { 00038 if ($headBlock = $this->getLayout()->getBlock('head')) { 00039 $headBlock->setTitle(Mage::helper('checkout')->__('Change Billing Address') . ' - ' . $headBlock->getDefaultTitle()); 00040 } 00041 return parent::_prepareLayout(); 00042 }
getAddNewUrl | ( | ) |
Definition at line 79 of file Select.php.
00080 { 00081 return $this->getUrl('*/*/newBilling'); 00082 }
getAddressCollection | ( | ) |
Definition at line 49 of file Select.php.
00050 { 00051 $collection = $this->getData('address_collection'); 00052 if (is_null($collection)) { 00053 $collection = $this->_getCheckout()->getCustomer()->getAddresses(); 00054 $this->setData('address_collection', $collection); 00055 } 00056 return $collection; 00057 }
getBackUrl | ( | ) |
Definition at line 84 of file Select.php.
00085 { 00086 return $this->getUrl('*/multishipping/billing'); 00087 }
getEditAddressUrl | ( | $ | address | ) |
getSetAddressUrl | ( | $ | address | ) |
isAddressDefaultBilling | ( | $ | address | ) |
Definition at line 59 of file Select.php.
00060 { 00061 return $address->getId() == $this->_getCheckout()->getCustomer()->getDefaultBilling(); 00062 }
isAddressDefaultShipping | ( | $ | address | ) |
Definition at line 64 of file Select.php.
00065 { 00066 return $address->getId() == $this->_getCheckout()->getCustomer()->getDefaultShipping(); 00067 }