protected function checkDependenciesModule($module_id)
    {
        $modules = $this->module->getList();
        $validated = $this->validateDependencies($modules, true);

        if (empty($validated[$module_id]['errors'])) {
            return true;
        }

        $messages = array();
        foreach ($validated[$module_id]['errors'] as $error) {
            list($text, $arguments) = $error;
            $messages[] = $this->translation->text($text, $arguments);
        }

        throw new UnexpectedValueException(implode('<br>', $messages));
    }
protected function checkDependenciesModule($module_id)
    {
        $modules = $this->module->getList();
        $validated = $this->validateDependencies($modules, true);

        if (empty($validated[$module_id]['errors'])) {
            return true;
        }

        $messages = array();
        foreach ($validated[$module_id]['errors'] as $error) {
            list($text, $arguments) = $error;
            $messages[] = $this->translation->text($text, $arguments);
        }

        throw new UnexpectedValueException(implode('<br>', $messages));
    }
protected function checkDependenciesModule ( $ module_id ) { $ modules = $ this -> module -> getList ( ) ; $ validated = $ this -> validateDependencies ( $ modules , true ) ; if ( empty ( $ validated [ $ module_id ] [ 'errors' ] ) ) { return true ; } $ messages = array ( ) ; foreach ( $ validated [ $ module_id ] [ 'errors' ] as $ error ) { list ( $ text , $ arguments ) = $ error ; $ messages [ ] = $ this -> translation -> text ( $ text , $ arguments ) ; } throw new UnexpectedValueException ( implode ( '<br>' , $ messages ) ) ; }
Checks module dependencies
@param string $module_id
@return boolean
@throws UnexpectedValueException
Checks module dependencies