コード例 #1
0
 /**
  * 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'));
 }