protected function runAllCoreModules()
    {
        $allModules = \BFW\Application::getInstance()
            ->getConfig()
            ->getValue('modules', 'modules.php')
        ;
        
        foreach ($allModules as $moduleInfos) {
            $moduleName    = $moduleInfos['name'];
            $moduleEnabled = $moduleInfos['enabled'];

            if (empty($moduleName) || $moduleEnabled === false) {
                continue;
            }

            $this->runModule($moduleName);
        }
    }
protected function runAllCoreModules()
    {
        $allModules = \BFW\Application::getInstance()
            ->getConfig()
            ->getValue('modules', 'modules.php')
        ;
        
        foreach ($allModules as $moduleInfos) {
            $moduleName    = $moduleInfos['name'];
            $moduleEnabled = $moduleInfos['enabled'];

            if (empty($moduleName) || $moduleEnabled === false) {
                continue;
            }

            $this->runModule($moduleName);
        }
    }
protected function runAllCoreModules ( ) { $ allModules = \ BFW \ Application :: getInstance ( ) -> getConfig ( ) -> getValue ( 'modules' , 'modules.php' ) ; foreach ( $ allModules as $ moduleInfos ) { $ moduleName = $ moduleInfos [ 'name' ] ; $ moduleEnabled = $ moduleInfos [ 'enabled' ] ; if ( empty ( $ moduleName ) || $ moduleEnabled === false ) { continue ; } $ this -> runModule ( $ moduleName ) ; } }
Load core modules defined into config bfw file.
Only module for controller, router, database and template only.

@return void
Load core modules defined into config bfw file . Only module for controller router database and template only .