Public Member Functions | |
getFormKey () | |
isOutputEnabled ($moduleName=null) | |
Protected Member Functions | |
_getUrlModelClass () |
Definition at line 34 of file Template.php.
_getUrlModelClass | ( | ) | [protected] |
Enter description here...
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 41 of file Template.php.
getFormKey | ( | ) |
Retrieve Session Form Key
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
string | $moduleName Full module name |
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 }