Mage_Adminhtml_Block_Sales_Order_Create_Totals_Default Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_Create_Totals_Default:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Adminhtml_Block_Sales_Order_Create_Totals_Tax

List of all members.

Public Member Functions

 getStore ()
 formatPrice ($value)

Protected Member Functions

 _construct ()
 _getSession ()

Protected Attributes

 $_template = 'sales/order/create/totals/default.phtml'


Detailed Description

Default Total Row Renderer

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file Default.php.


Member Function Documentation

_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 37 of file Default.php.

00037                                    {
00038         $this->setTemplate($this->_template);
00039     }

_getSession (  )  [protected]

Retrieve quote session object

Returns:
Mage_Adminhtml_Model_Session_Quote

Definition at line 46 of file Default.php.

00047     {
00048         return Mage::getSingleton('adminhtml/session_quote');
00049     }

formatPrice ( value  ) 

Definition at line 61 of file Default.php.

00062     {
00063         return $this->getStore()->formatPrice($value);
00064     }

getStore (  ) 

Retrieve store model object

Returns:
Mage_Core_Model_Store

Definition at line 56 of file Default.php.

00057     {
00058         return $this->_getSession()->getStore();
00059     }


Member Data Documentation

$_template = 'sales/order/create/totals/default.phtml' [protected]

Reimplemented in Mage_Adminhtml_Block_Sales_Order_Create_Totals_Tax.

Definition at line 35 of file Default.php.


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

Generated on Sat Jul 4 17:23:00 2009 for Magento by  doxygen 1.5.8