Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
aCssParserPlugin Class Reference
Inheritance diagram for aCssParserPlugin:
CssAtCharsetParserPlugin CssAtFontFaceParserPlugin CssAtImportParserPlugin CssAtKeyframesParserPlugin CssAtMediaParserPlugin CssAtPageParserPlugin CssAtVariablesParserPlugin CssCommentParserPlugin CssExpressionParserPlugin CssRulesetParserPlugin CssStringParserPlugin CssUrlParserPlugin

Public Member Functions

 __construct (CssParser $parser, array $configuration=null)
 getTriggerChars ()
 getTriggerStates ()
 parse ($index, $char, $previousChar, $state)

Protected Attributes

 $configuration = array()
 $parser = null
 $buffer = ""

Detailed Description

Definition at line 107 of file cssmin.php.

Constructor & Destructor Documentation

aCssParserPlugin::__construct ( CssParser  $parser,
array  $configuration = null 
)

Constructor.

Parameters
CssParser$parserThe CssParser object of this plugin.
array$configurationPlugin configuration [optional]
Returns
void

Definition at line 134 of file cssmin.php.

{
$this->configuration = $configuration;
$this->parser = $parser;
}

Member Function Documentation

aCssParserPlugin::getTriggerChars ( )
abstract
aCssParserPlugin::getTriggerStates ( )
abstract
aCssParserPlugin::parse (   $index,
  $char,
  $previousChar,
  $state 
)
abstract

Parser routine of the plugin.

Parameters
integer$indexCurrent index
string$charCurrent char
string$previousCharPrevious char
Returns
mixed TRUE will break the processing; FALSE continue with the next plugin; integer set a new index and break the processing

Reimplemented in CssAtCharsetParserPlugin, CssAtFontFaceParserPlugin, CssAtImportParserPlugin, CssAtKeyframesParserPlugin, CssAtMediaParserPlugin, CssAtPageParserPlugin, CssAtVariablesParserPlugin, CssCommentParserPlugin, CssExpressionParserPlugin, CssRulesetParserPlugin, CssStringParserPlugin, and CssUrlParserPlugin.


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