MediaWiki
REL1_22
|
Maintenance script that minifies a file or set of files. More...
Public Member Functions | |
__construct () | |
execute () | |
getExtension ($fileName) | |
minify ($inPath, $outPath) | |
Public Attributes | |
$outDir |
Maintenance script that minifies a file or set of files.
Definition at line 31 of file minify.php.
Reimplemented from Maintenance.
Definition at line 34 of file minify.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 55 of file minify.php.
References $outDir, as, Maintenance\error(), Maintenance\getArg(), getExtension(), Maintenance\getOption(), Maintenance\hasOption(), and minify().
MinifyScript::getExtension | ( | $ | fileName | ) |
Definition at line 100 of file minify.php.
References Maintenance\error().
MinifyScript::minify | ( | $ | inPath, |
$ | outPath | ||
) |
Definition at line 109 of file minify.php.
References Maintenance\error(), getExtension(), Maintenance\getOption(), global, and Maintenance\output().
Referenced by execute().
MinifyScript::$outDir |
Definition at line 32 of file minify.php.
Referenced by execute().