Mage_Adminhtml_Block_Sales_Order_Create_Abstract Class Reference

Inheritance diagram for 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 Mage_Adminhtml_Block_Sales_Order_Create_Billing_Method Mage_Adminhtml_Block_Sales_Order_Create_Comment Mage_Adminhtml_Block_Sales_Order_Create_Coupons Mage_Adminhtml_Block_Sales_Order_Create_Coupons_Form Mage_Adminhtml_Block_Sales_Order_Create_Customer Mage_Adminhtml_Block_Sales_Order_Create_Data Mage_Adminhtml_Block_Sales_Order_Create_Form Mage_Adminhtml_Block_Sales_Order_Create_Form_Account Mage_Adminhtml_Block_Sales_Order_Create_Form_Address Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage Mage_Adminhtml_Block_Sales_Order_Create_Header Mage_Adminhtml_Block_Sales_Order_Create_Items Mage_Adminhtml_Block_Sales_Order_Create_Items_Grid Mage_Adminhtml_Block_Sales_Order_Create_Newsletter Mage_Adminhtml_Block_Sales_Order_Create_Search Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Method Mage_Adminhtml_Block_Sales_Order_Create_Shipping_Method_Form Mage_Adminhtml_Block_Sales_Order_Create_Sidebar Mage_Adminhtml_Block_Sales_Order_Create_Sidebar_Abstract Mage_Adminhtml_Block_Sales_Order_Create_Store Mage_Adminhtml_Block_Sales_Order_Create_Totals

List of all members.

Public Member Functions

 getCreateOrderModel ()
 getQuote ()
 getCustomer ()
 getCustomerId ()
 getStore ()
 getStoreId ()
 formatPrice ($value)
 convertPrice ($value, $format=true)

Protected Member Functions

 _getSession ()


Detailed Description

Definition at line 34 of file Abstract.php.


Member Function Documentation

_getSession (  )  [protected]

Retrieve quote session object

Returns:
Mage_Adminhtml_Model_Session_Quote

Definition at line 51 of file Abstract.php.

00052     {
00053         return Mage::getSingleton('adminhtml/session_quote');
00054     }

convertPrice ( value,
format = true 
)

Definition at line 117 of file Abstract.php.

00118     {
00119         return $this->getStore()->convertPrice($value, $format);
00120     }

formatPrice ( value  ) 

Retrieve formated price

Parameters:
decimal $value
Returns:
string

Definition at line 112 of file Abstract.php.

00113     {
00114         return $this->getStore()->formatPrice($value);
00115     }

getCreateOrderModel (  ) 

Retrieve create order model object

Returns:
Mage_Adminhtml_Model_Sales_Order_Create

Definition at line 41 of file Abstract.php.

00042     {
00043         return Mage::getSingleton('adminhtml/sales_order_create');
00044     }

getCustomer (  ) 

Retrieve customer model object

Returns:
Mage_Customer_Model_Customer

Definition at line 71 of file Abstract.php.

00072     {
00073         return $this->_getSession()->getCustomer();
00074     }

getCustomerId (  ) 

Retrieve customer identifier

Returns:
int

Definition at line 81 of file Abstract.php.

00082     {
00083         return $this->_getSession()->getCustomerId();
00084     }

getQuote (  ) 

Retrieve quote model object

Returns:
Mage_Sales_Model_Quote

Definition at line 61 of file Abstract.php.

00062     {
00063         return $this->_getSession()->getQuote();
00064     }

getStore (  ) 

Retrieve store model object

Returns:
Mage_Core_Model_Store

Reimplemented in Mage_Adminhtml_Block_Sales_Order_Create_Items_Grid.

Definition at line 91 of file Abstract.php.

00092     {
00093         return $this->_getSession()->getStore();
00094     }

getStoreId (  ) 

Retrieve store identifier

Returns:
int

Definition at line 101 of file Abstract.php.

00102     {
00103         return $this->_getSession()->getStoreId();
00104     }


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

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