Public Member Functions |
| __construct ($property, $value, $mediaTypes=null, $isImportant=false, $isLast=false) |
| __construct ($property, $value, $isImportant=false, $isLast=false) |
| __toString () |
Public Attributes |
| $MediaTypes = array("all") |
| $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 | $property | Property of the declaration |
string | $value | Value of the declaration |
mixed | $mediaTypes | Media types of the declaration |
boolean | $isImportant | Is the !important flag is set |
boolean | $isLast | Is the declaration the last one of the ruleset |
- Returns
- void
Definition at line 1210 of file cssmin.php.
{
$this->MediaTypes = $mediaTypes ? $mediaTypes : array("all");
}
The documentation for this class was generated from the following file:
- common/extensions/ExtendedClientScript/cssmin/cssmin.php