예제 #1
0
 /**
  * Show a index-page and display what can be done through this controller.
  */
 public function Install()
 {
     $modules = new ModulesModel();
     $results = $modules->Install();
     $allModules = $modules->ReadAndAnalyse();
     $this->views->SetTitle('Install Modules')->AddInclude(HAL_INSTALL_PATH . '/view/modulesinstall.tpl.php', array('modules' => $results), 'primary')->AddInclude(HAL_INSTALL_PATH . '/view/modulessidebar.tpl.php', array('modules' => $allModules), 'sidebar');
 }