| @@ 71-79 (lines=9) @@ | ||
| 68 | * |
|
| 69 | * @return array An array of paths to each loaded module |
|
| 70 | */ |
|
| 71 | public function getModulesPath() |
|
| 72 | { |
|
| 73 | $paths = array(); |
|
| 74 | foreach ($this->moduleManager->getLoadedModules(true) as $module) { |
|
| 75 | $paths[$module->getName()] = $module->getPath(); |
|
| 76 | } |
|
| 77 | ||
| 78 | return $paths; |
|
| 79 | } |
|
| 80 | } |
|
| 81 | ||
| @@ 28-36 (lines=9) @@ | ||
| 25 | * |
|
| 26 | * @return array An array of paths to each loaded module |
|
| 27 | */ |
|
| 28 | public function getModulesPath() |
|
| 29 | { |
|
| 30 | $paths = array(); |
|
| 31 | foreach ($this->getLoadedModules(true) as $module) { |
|
| 32 | $paths[$module->getName()] = $module->getPath(); |
|
| 33 | } |
|
| 34 | ||
| 35 | return $paths; |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * Returns the file path for a given resource. |
|