示例#1
0
 public function isModuleOutputEnabled($moduleName = null)
 {
     $siteId = $this->getSiteId();
     if (empty($siteId)) {
         return false;
     }
     return parent::isModuleOutputEnabled($moduleName);
 }
示例#2
0
 public function isModuleOutputEnabled($moduleName = null)
 {
     if (is_callable(array(Mage::helper('core'), 'isModuleOutputEnabled'))) {
         return parent::isModuleOutputEnabled();
     }
     if ($moduleName === null) {
         $moduleName = $this->_getModuleName();
     }
     if (Mage::getStoreConfigFlag('advanced/modules_disable_output/' . $moduleName)) {
         return false;
     }
     return true;
 }