MediaWiki
REL1_20
|
Maintenance script that minifies a file or set of files. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
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.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 34 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 55 of file minify.php.
References $outDir, 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(), and Maintenance\output().
Referenced by execute().
MinifyScript::$outDir |
Definition at line 32 of file minify.php.
Referenced by execute().