/** * PROCESS : installModulesAddons * Install modules from addons */ public function processInstallAddonsModules() { $this->initializeContext(); if (($module = Tools::getValue('module')) && ($id_module = Tools::getValue('id_module'))) { $result = $this->model_install->installModulesAddons(array('name' => $module, 'id_module' => $id_module)); } else { $result = $this->model_install->installModulesAddons(); } if (!$result || $this->model_install->getErrors()) { $this->ajaxJsonAnswer(false, $this->model_install->getErrors()); } $this->session->process_validated = array_merge($this->session->process_validated, array('installModulesAddons' => true)); $this->ajaxJsonAnswer(true); }
/** * PROCESS : installModulesAddons * Install modules from addons */ public function processInstallAddonsModules() { return $this->model_install->installModulesAddons(); }