Mage_Adminhtml_Block_Sales_Order_View_Tab_Info Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_View_Tab_Info:

Mage_Adminhtml_Block_Sales_Order_Abstract Mage_Adminhtml_Block_Widget_Tab_Interface 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

 getOrder ()
 getSource ()
 getOrderTotalData ()
 getOrderInfoData ()
 getTrackingHtml ()
 getItemsHtml ()
 getGiftmessageHtml ()
 getPaymentHtml ()
 getViewUrl ($orderId)
 getTabLabel ()
 getTabTitle ()
 canShowTab ()
 isHidden ()


Detailed Description

Definition at line 34 of file Info.php.


Member Function Documentation

canShowTab (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 122 of file Info.php.

00123     {
00124         return true;
00125     }

getGiftmessageHtml (  ) 

Retrive giftmessage block html

Returns:
string

Definition at line 94 of file Info.php.

00095     {
00096         return $this->getChildHtml('order_giftmessage');
00097     }

getItemsHtml (  ) 

Definition at line 84 of file Info.php.

00085     {
00086         return $this->getChildHtml('order_items');
00087     }

getOrder (  ) 

Retrieve order model instance

Returns:
Mage_Sales_Model_Order

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 43 of file Info.php.

00044     {
00045         return Mage::registry('current_order');
00046     }

getOrderInfoData (  ) 

Retrieve order info block settings

Returns:
array

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 72 of file Info.php.

00073     {
00074         return array(
00075             'no_use_order_link' => true,
00076         );
00077     }

getOrderTotalData (  ) 

Retrieve order totals block settings

Returns:
array

Reimplemented from Mage_Adminhtml_Block_Sales_Order_Abstract.

Definition at line 63 of file Info.php.

00064     {
00065         return array(
00066             'can_display_total_due'      => true,
00067             'can_display_total_paid'     => true,
00068             'can_display_total_refunded' => true,
00069         );
00070     }

getPaymentHtml (  ) 

Definition at line 99 of file Info.php.

00100     {
00101         return $this->getChildHtml('order_payment');
00102     }

getSource (  ) 

Retrieve source model instance

Returns:
Mage_Sales_Model_Order

Definition at line 53 of file Info.php.

00054     {
00055         return $this->getOrder();
00056     }

getTabLabel (  ) 

######################## TAB settings #################################

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 112 of file Info.php.

00113     {
00114         return Mage::helper('sales')->__('Information');
00115     }

getTabTitle (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 117 of file Info.php.

00118     {
00119         return Mage::helper('sales')->__('Order Information');
00120     }

getTrackingHtml (  ) 

Definition at line 79 of file Info.php.

00080     {
00081         return $this->getChildHtml('order_tracking');
00082     }

getViewUrl ( orderId  ) 

Definition at line 104 of file Info.php.

00105     {
00106         return $this->getUrl('*/*/*', array('order_id'=>$orderId));
00107     }

isHidden (  ) 

Implements Mage_Adminhtml_Block_Widget_Tab_Interface.

Definition at line 127 of file Info.php.

00128     {
00129         return false;
00130     }


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

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