MediaWiki  REL1_19
MinifyScript Class Reference
Inheritance diagram for MinifyScript:
Collaboration diagram for MinifyScript:

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

Definition at line 26 of file minify.php.


Constructor & Destructor Documentation

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

Here is the call graph for this function:


Member Function Documentation

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

Here is the call graph for this function:

MinifyScript::getExtension ( fileName)

Definition at line 95 of file minify.php.

References Maintenance\error().

Referenced by execute(), and minify().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

MinifyScript::$outDir

Definition at line 27 of file minify.php.

Referenced by execute().


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