JCSSManagerCompressJSCommand Class Reference
[JCSSManager]
Compress JS. More...
Inheritance diagram for
JCSSManagerCompressJSCommand:
Public Member Functions |
|
__construct ($in_files, $out_file) | |
COnstructor. |
Detailed Description
Compress JS.
Delegates to algorithm defines as ConfigJCSSManager::JS_COMPRESSOR
Definition at line 10 of file compress.js.cmd.php.
Constructor & Destructor Documentation
JCSSManagerCompressJSCommand::__construct | ( | $ | in_files, | |
$ | out_file | |||
) |
COnstructor.
- Parameters:
-
$in_files array $out_file string
- Returns:
- void
Definition at line 19 of file compress.js.cmd.php.
00019 { 00020 $compressor = strtolower(Config::get_value(ConfigJCSSManager::JS_COMPRESSOR)); 00021 Load::commands("jcssmanager/$compressor/compress.js"); 00022 $cls = 'JCSSManagerCompressJS' . Load::filename_to_classname($compressor, 'Command'); 00023 parent::__construct(new $cls($in_files, $out_file)); 00024 }
The documentation for this class was generated from the following file:
- contributions/jcssmanager/behaviour/commands/jcssmanager/compress.js.cmd.php