MinifyScript Class Reference

Minify a file or set of files. More...

Inherits Maintenance.

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.
 getExtension ($fileName)
 minify ($inPath, $outPath)

Public Attributes

 $outDir


Detailed Description

Minify a file or set of files.

Definition at line 8 of file minify.php.


Constructor & Destructor Documentation

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().


Member Function Documentation

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  ) 

Definition at line 72 of file minify.php.

References Maintenance::error().

Referenced by execute(), and minify().

MinifyScript::minify ( inPath,
outPath 
)

Definition at line 81 of file minify.php.

References Maintenance::error(), and getExtension().

Referenced by execute().


Member Data Documentation

MinifyScript::$outDir

Definition at line 9 of file minify.php.

Referenced by execute().


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:43 2011 for MediaWiki by  doxygen 1.5.9