Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
CssRulesetDeclarationToken Class Reference
Inheritance diagram for CssRulesetDeclarationToken:
aCssDeclarationToken aCssToken

Public Member Functions

 __construct ($property, $value, $mediaTypes=null, $isImportant=false, $isLast=false)
- Public Member Functions inherited from aCssDeclarationToken
 __construct ($property, $value, $isImportant=false, $isLast=false)
 __toString ()

Public Attributes

 $MediaTypes = array("all")
- Public Attributes inherited from aCssDeclarationToken
 $IsImportant = false
 $IsLast = false
 $Property = ""
 $Value = ""

Detailed Description

Definition at line 1192 of file cssmin.php.

Constructor & Destructor Documentation

CssRulesetDeclarationToken::__construct (   $property,
  $value,
  $mediaTypes = null,
  $isImportant = false,
  $isLast = false 
)

Set the properties of a ddocument- or at-rule level declaration.

Parameters
string$propertyProperty of the declaration
string$valueValue of the declaration
mixed$mediaTypesMedia types of the declaration
boolean$isImportantIs the !important flag is set
boolean$isLastIs the declaration the last one of the ruleset
Returns
void

Definition at line 1210 of file cssmin.php.

{
parent::__construct($property, $value, $isImportant, $isLast);
$this->MediaTypes = $mediaTypes ? $mediaTypes : array("all");
}

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