Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Address Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Address:

Mage_Adminhtml_Block_Sales_Order_Create_Form_Address Mage_Adminhtml_Block_Sales_Order_Create_Abstract Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getHeaderText ()
 getHeaderCssClass ()
 getIsShipping ()
 getIsAsBilling ()
 getFormValues ()
 getAddressId ()
 getAddress ()
 getIsDisabled ()

Protected Member Functions

 _prepareForm ()


Detailed Description

Definition at line 35 of file Address.php.


Member Function Documentation

_prepareForm (  )  [protected]

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Create_Form_Address.

Definition at line 47 of file Address.php.

00048     {
00049         if (!$this->_form) {
00050             parent::_prepareForm();
00051             $this->_form->addFieldNameSuffix('order[shipping_address]');
00052             $this->_form->setHtmlNamePrefix('order[shipping_address]');
00053             $this->_form->setHtmlIdPrefix('order-shipping_address_');
00054         }
00055         return $this;
00056     }

getAddress (  ) 

Definition at line 79 of file Address.php.

00080     {
00081         return $this->getCreateOrderModel()->getShippingAddress();
00082     }

getAddressId (  ) 

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Create_Form_Address.

Definition at line 74 of file Address.php.

00075     {
00076         return $this->getCreateOrderModel()->getShippingAddress()->getCustomerAddressId();
00077     }

getFormValues (  ) 

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Create_Form_Address.

Definition at line 68 of file Address.php.

00069     {
00070         return $this->getCreateOrderModel()->getShippingAddress()->getData();
00071     }

getHeaderCssClass (  ) 

Definition at line 42 of file Address.php.

00043     {
00044         return 'head-shipping-address';
00045     }

getHeaderText (  ) 

Definition at line 37 of file Address.php.

00038     {
00039         return Mage::helper('sales')->__('Shipping Address');
00040     }

getIsAsBilling (  ) 

Definition at line 63 of file Address.php.

00064     {
00065         return $this->getCreateOrderModel()->getShippingAddress()->getSameAsBilling();
00066     }

getIsDisabled (  ) 

Definition at line 84 of file Address.php.

00085     {
00086         return $this->getQuote()->isVirtual();
00087     }

getIsShipping (  ) 

Definition at line 58 of file Address.php.

00059     {
00060         return true;
00061     }


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

Generated on Sat Jul 4 17:22:59 2009 for Magento by  doxygen 1.5.8