MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
getExtension ($fileName) | |
minify ($inPath, $outPath) | |
Public Attributes | |
$outDir |
Definition at line 26 of file minify.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 29 of file minify.php.
References Maintenance\addOption().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 50 of file minify.php.
References $outDir, Maintenance\error(), Maintenance\getArg(), getExtension(), Maintenance\getOption(), Maintenance\hasOption(), and minify().
MinifyScript::getExtension | ( | $ | fileName | ) |
Definition at line 95 of file minify.php.
References Maintenance\error().
Referenced by execute(), and minify().
MinifyScript::minify | ( | $ | inPath, |
$ | outPath | ||
) |
Definition at line 104 of file minify.php.
References $wgResourceLoaderMinifierMaxLineLength, $wgResourceLoaderMinifierStatementsOnOwnLine, Maintenance\error(), getExtension(), Maintenance\getOption(), and Maintenance\output().
Referenced by execute().
MinifyScript::$outDir |
Definition at line 27 of file minify.php.
Referenced by execute().