|
Sabberworm/PHP-CSS-Parser
8.1.0
A Parser for CSS Files written in PHP. Allows extraction of CSS files into a data structure, manipulation of said structure and output as (optimized) CSS
|
Static Public Member Functions | |
| static | create () |
| static | createCompact () |
| static | createPretty () |
Public Attributes | |
| $sStringQuotingType = '"' | |
| Value format. | |
| $bRGBHashNotation = true | |
| $bSemicolonAfterLastRule = true | |
| Declaration format. | |
| $sSpaceAfterRuleName = ' ' | |
| Spacing Note that these strings are not sanity-checked: the value should only consist of whitespace Any newline character will be indented according to the current level. More... | |
| $sSpaceBeforeRules = '' | |
| $sSpaceAfterRules = '' | |
| $sSpaceBetweenRules = '' | |
| $sSpaceBeforeBlocks = '' | |
| $sSpaceAfterBlocks = '' | |
| $sSpaceBetweenBlocks = "\n" | |
| $sSpaceBeforeSelectorSeparator = '' | |
| $sSpaceAfterSelectorSeparator = ' ' | |
| $sSpaceBeforeListArgumentSeparator = '' | |
| $sSpaceAfterListArgumentSeparator = '' | |
| $sSpaceBeforeOpeningBrace = ' ' | |
| $sIndentation = "\t" | |
| Indentation. | |
| $bIgnoreExceptions = false | |
| Output exceptions. | |
| $sSpaceAfterRuleName = ' ' |
Spacing Note that these strings are not sanity-checked: the value should only consist of whitespace Any newline character will be indented according to the current level.
The triples (After, Before, Between) can be set using a wildcard (e.g. `$oFormat->set('Space*Rules', "\n");`)
1.8.11