.

JCSSManagerCompressCSSYuiCommand Class Reference

Inheritance diagram for JCSSManagerCompressCSSYuiCommand:
JCSSManagerCompressBaseYuiCommand JCSSManagerCompressBaseCommand CommandDelegate ICommand IAction ISerializable

List of all members.

Public Member Functions

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

Protected Member Functions

  get_db_type ()
  Returns type of compressed file.
  get_file_contents ($file)
  Return file content.
  invoke_yui ($in_file, $out_file)
  Invoke YUICOmpressor.

Protected Attributes

  $type

Detailed Description

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


Constructor & Destructor Documentation

JCSSManagerCompressCSSYuiCommand::__construct ( in_files,
out_file,
type  
)

COnstructor.

Parameters:
$in_files  array
$out_file  string
Returns:
void

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

00014                                                                  {
00015                 $this->type = $type;
00016                 parent::__construct($in_files, $out_file);
00017         }       

Member Function Documentation

JCSSManagerCompressCSSYuiCommand::get_db_type (  )  [protected]

Returns type of compressed file.

Returns:
string One of TYPE_X constants

Reimplemented from JCSSManagerCompressBaseCommand.

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

00046                                          {
00047                 return $this->type;
00048         }       
JCSSManagerCompressCSSYuiCommand::get_file_contents ( file  )  [protected]

Return file content.

Parameters:
string  $file
Returns:
string

Reimplemented from JCSSManagerCompressBaseYuiCommand.

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

00025                                                     {
00026                 return JCSSManager::transform_css_file($file);
00027         }
JCSSManagerCompressCSSYuiCommand::invoke_yui ( in_file,
out_file  
) [protected]

Invoke YUICOmpressor.

Parameters:
string  $in_file
string  $out_file
Returns:
Status

Reimplemented from JCSSManagerCompressBaseYuiCommand.

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

00036                                                            {
00037                 $ret = $this->run_yui($in_file, $out_file, 'css');
00038                 return $ret;
00039         }

Member Data Documentation

JCSSManagerCompressCSSYuiCommand::$type [protected]

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


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