MediaWiki REL1_39
|
Manage foreign resources registered with ResourceLoader. More...
Public Member Functions | |
__construct ( $registryFile, $libDir, callable $infoPrinter=null, callable $errorPrinter=null, callable $verbosePrinter=null) | |
run ( $action, $module) | |
Manage foreign resources registered with ResourceLoader.
Definition at line 31 of file ForeignResourceManager.php.
ForeignResourceManager::__construct | ( | $registryFile, | |
$libDir, | |||
callable | $infoPrinter = null, | ||
callable | $errorPrinter = null, | ||
callable | $verbosePrinter = null ) |
string | $registryFile | Path to YAML file |
string | $libDir | Path to a modules directory |
callable | null | $infoPrinter | Callback for printing info about the run. |
callable | null | $errorPrinter | Callback for printing errors from the run. |
callable | null | $verbosePrinter | Callback for printing extra verbose progress information from the run. |
Definition at line 81 of file ForeignResourceManager.php.
ForeignResourceManager::run | ( | $action, | |
$module ) |
string | $action | |
string | $module |
Exception |
Definition at line 111 of file ForeignResourceManager.php.
References $modules, verbose, wfMkdirParents(), and wfRecursiveRemoveDir().