/** * since urls.xml declare all entrypoints, current entry point does not have * access to all modules, so doesn't know all their paths. * this method retrieve all module paths declared in the configuration * of an entry point or the global configuration * @param string $configFile the config file name */ protected function retrieveModulePaths($configFile, $entrypoint = '') { $conf = jConfigCompiler::read($configFile, true, false, $entrypoint); $this->modulesPath = array_merge($this->modulesPath, jConfigCompiler::getModulesPaths($conf)); }
/** * since urls.xml declare all entrypoints, current entry point does not have * access to all modules, so doesn't know all their paths. * this method retrieve all module paths declared in the configuration * of an entry point or the global configuration * @param string $configFile the config file name */ protected function retrieveModulePaths($configFile) { $conf = jConfigCompiler::read($configFile); $this->modulesPath = array_merge($this->modulesPath, jConfigCompiler::getModulesPaths($conf)); }