/**
  * Install
  *
  * Install the database, execute all the module SQL script
  */
 public function installAll()
 {
     $arTemp = $this->getModules();
     //build an array
     $arModules = array();
     foreach ($arTemp as $module) {
         CopixModule::install($module->name);
     }
     //        return $arError;
 }
 /**
  * install
  *
  * Install the database, execute all the module SQL script
  */
 function installAll()
 {
     $arTemp = $this->getModules();
     //build an array
     $arModules = array();
     foreach ($arTemp as $module) {
         $arModules[] = $module->name;
     }
     $arError = CopixModule::install($arModules);
     return $arError;
 }
 /**
  * install or deinstall modules after confirmation
  */
 function doInstallModulesWithDependencies()
 {
     if ($this->vars['todo'] == 'add') {
         CopixModule::install($this->_getSessionInstallModules());
     } elseif ($this->vars['todo'] == 'remove') {
         CopixModule::delete($this->_getSessionInstallModules());
     }
     return new CopixActionReturn(COPIX_AR_REDIRECT, CopixUrl::get('install|install|manageModules'));
 }