Mage_Adminhtml_Block_Template Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Template:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Adminhtml_Block_Api_Buttons Mage_Adminhtml_Block_Api_Roles Mage_Adminhtml_Block_Api_Users Mage_Adminhtml_Block_Backup Mage_Adminhtml_Block_Catalog Mage_Adminhtml_Block_Catalog_Category_Abstract Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Tree_Attribute Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Main_Tree_Group Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Add Mage_Adminhtml_Block_Catalog_Product_Attribute_Set_Toolbar_Main Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Alerts Mage_Adminhtml_Block_Customer_Edit_Tab_Carts Mage_Adminhtml_Block_Customer_Edit_Tab_View Mage_Adminhtml_Block_Customer_Edit_Tab_View_Sales Mage_Adminhtml_Block_Customer_Group Mage_Adminhtml_Block_Customer_Online Mage_Adminhtml_Block_Dashboard Mage_Adminhtml_Block_Newsletter_Problem Mage_Adminhtml_Block_Newsletter_Queue Mage_Adminhtml_Block_Newsletter_Queue_Edit Mage_Adminhtml_Block_Newsletter_Subscriber Mage_Adminhtml_Block_Newsletter_Template Mage_Adminhtml_Block_Notification_Toolbar Mage_Adminhtml_Block_Page Mage_Adminhtml_Block_Page_Footer Mage_Adminhtml_Block_Page_Header Mage_Adminhtml_Block_Page_Menu Mage_Adminhtml_Block_Page_Notices Mage_Adminhtml_Block_Permissions_Buttons Mage_Adminhtml_Block_Permissions_Roles Mage_Adminhtml_Block_Permissions_UsernRoles Mage_Adminhtml_Block_Permissions_Users Mage_Adminhtml_Block_Poll_Edit_Tab_Answers_List Mage_Adminhtml_Block_Report_Wishlist Mage_Adminhtml_Block_Review_Rating_Detailed Mage_Adminhtml_Block_Review_Rating_Summary Mage_Adminhtml_Block_Sales Mage_Adminhtml_Block_Sales_Items_Abstract Mage_Adminhtml_Block_Sales_Items_Column_Default Mage_Adminhtml_Block_Sales_Order_Comments_View Mage_Adminhtml_Block_Sales_Order_Create_Totals_Table Mage_Adminhtml_Block_Sales_Order_Invoice_Create_Tracking Mage_Adminhtml_Block_Sales_Order_Payment Mage_Adminhtml_Block_Sales_Order_Shipment_Create_Tracking Mage_Adminhtml_Block_Sales_Order_Shipment_Tracking_Info Mage_Adminhtml_Block_Sales_Order_Shipment_View_Tracking Mage_Adminhtml_Block_Sales_Order_View_Form Mage_Adminhtml_Block_Sales_Order_View_History Mage_Adminhtml_Block_Sales_Order_View_Tab_History Mage_Adminhtml_Block_Store_Switcher Mage_Adminhtml_Block_System_Config_Switcher Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Run Mage_Adminhtml_Block_System_Currency Mage_Adminhtml_Block_System_Currency_Rate_Matrix Mage_Adminhtml_Block_System_Design Mage_Adminhtml_Block_System_Email_Template Mage_Adminhtml_Block_System_Store_Delete_Group Mage_Adminhtml_Block_System_Store_Delete_Website Mage_Adminhtml_Block_Tag Mage_Adminhtml_Block_Tag_Pending Mage_Adminhtml_Block_Tax_Rate_Toolbar_Add Mage_Adminhtml_Block_Tax_Rate_Toolbar_Save Mage_Adminhtml_Block_Tree Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Widget_Breadcrumbs Mage_Adminhtml_Block_Widget_Container Mage_Adminhtml_Block_Widget_Form_Element Mage_Adminhtml_Block_Widget_Form_Element_Gallery Mage_Adminhtml_Block_Widget_Form_Renderer_Element Mage_Adminhtml_Block_Widget_Form_Renderer_Fieldset Mage_Adminhtml_Block_Widget_Form_Renderer_Fieldset_Element Mage_Compiler_Block_Process Mage_Downloadable_Block_Adminhtml_Catalog_Product_Edit_Tab_Downloadable_Links Mage_GoogleBase_Block_Adminhtml_Captcha Mage_GoogleOptimizer_Block_Js

List of all members.

Public Member Functions

 getFormKey ()
 isOutputEnabled ($moduleName=null)

Protected Member Functions

 _getUrlModelClass ()


Detailed Description

Definition at line 34 of file Template.php.


Member Function Documentation

_getUrlModelClass (  )  [protected]

Enter description here...

Returns:
string

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 41 of file Template.php.

00042     {
00043         return 'adminhtml/url';
00044     }

getFormKey (  ) 

Retrieve Session Form Key

Returns:
string

Definition at line 51 of file Template.php.

00052     {
00053         return Mage::getSingleton('core/session')->getFormKey();
00054     }

isOutputEnabled ( moduleName = null  ) 

Check whether or not the module output is enabled

Because many module blocks belong to Adminhtml module, the feature "Disable module output" doesn't cover Admin area

Parameters:
string $moduleName Full module name
Returns:
boolean

Definition at line 65 of file Template.php.

00066     {
00067         if ($moduleName === null) {
00068             $moduleName = $this->getModuleName();
00069         }
00070         return !Mage::getStoreConfigFlag('advanced/modules_disable_output/' . $moduleName);
00071     }


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

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