Inherits Maintenance.
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
getExtension ($fileName) | |
minify ($inPath, $outPath) | |
Public Attributes | |
$outDir |
Definition at line 8 of file minify.php.
MinifyScript::__construct | ( | ) |
Default constructor.
Children should call this if implementing their own constructors
Reimplemented from Maintenance.
Definition at line 11 of file minify.php.
References Maintenance::addOption().
MinifyScript::execute | ( | ) |
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 26 of file minify.php.
References $outDir, Maintenance::error(), Maintenance::getArg(), getExtension(), Maintenance::getOption(), Maintenance::hasOption(), and minify().
MinifyScript::getExtension | ( | $ | fileName | ) |
MinifyScript::minify | ( | $ | inPath, | |
$ | outPath | |||
) |
Definition at line 81 of file minify.php.
References Maintenance::error(), and getExtension().
Referenced by execute().
MinifyScript::$outDir |