Exemple #1
0
 /**
  * Whether a module output is permitted by the configuration or not
  *
  * @param string $moduleName Fully-qualified module name
  * @return boolean
  */
 public function isOutputEnabled($moduleName)
 {
     if (!$this->isEnabled($moduleName)) {
         return false;
     }
     if (!$this->_isCustomOutputConfigEnabled($moduleName)) {
         return false;
     }
     if ($this->_outputConfig->isEnabled($moduleName)) {
         return false;
     }
     return true;
 }