/** * This method is charged to build the dependencies table of the application. * The dependencies table is an array, indexed by the modules names, of arrays * of the other modules which are necessary to the first. */ public static function buildDependenciesTable() { $table = array(); if (is_null($installed_apps = Kernel::getInstalledModules())) { return null; } foreach ($installed_apps as $app_path => $modules) { foreach ($modules as $module_name => $module_path) { if (!is_null($dep = self::askForDependencies($app_path, $module_path, $module_name))) { $table[$module_name] = $dep; } } } parent::setDependenciesTable($table); }
public static function setDependenciesTable($table) { parent::setDependenciesTable($table); }