.

JCSSManagerCompressCSSCommand Class Reference
[JCSSManager]

Compress CSS. More...

Inheritance diagram for JCSSManagerCompressCSSCommand:
CommandDelegate ICommand IAction ISerializable

List of all members.

Public Member Functions

  __construct ($in_files, $out_file, $type)
  COnstructor.

Detailed Description

Compress CSS.

Delegates to algorithm defines as ConfigJCSSManager::CSS_COMPRESSOR

Author:
Gerd Riesselmann

Definition at line 10 of file compress.css.cmd.php.


Constructor & Destructor Documentation

JCSSManagerCompressCSSCommand::__construct ( in_files,
out_file,
type  
)

COnstructor.

Parameters:
$in_files  array
$out_file  string
$type  CSS type (CSS, CSS_IE6 etc)
Returns:
void

Definition at line 20 of file compress.css.cmd.php.

00020                                                                  {
00021                 $compressor = strtolower(Config::get_value(ConfigJCSSManager::CSS_COMPRESSOR));
00022                 Load::commands("jcssmanager/$compressor/compress.css");
00023                 $cls = 'JCSSManagerCompressCSS' . Load::filename_to_classname($compressor, 'Command'); 
00024                 parent::__construct(new $cls($in_files, $out_file, $type));
00025         }       

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