Sabberworm\CSS\OutputFormat
Synopsis
class OutputFormat
{
- // members
- public string $sStringQuotingType = '"';
- public boolean $bRGBHashNotation = true;
- public boolean $bSemicolonAfterLastRule = true;
- public string $sSpaceAfterRuleName = ' ';
- public string $sSpaceBeforeRules = '';
- public string $sSpaceAfterRules = '';
- public string $sSpaceBetweenRules = '';
- public string $sSpaceBeforeBlocks = '';
- public string $sSpaceAfterBlocks = '';
- public string $sSpaceBetweenBlocks = "\n";
- public string $sSpaceBeforeSelectorSeparator = '';
- public string $sSpaceAfterSelectorSeparator = ' ';
- public string $sSpaceBeforeListArgumentSeparator = '';
- public string $sSpaceAfterListArgumentSeparator = '';
- public string $sSpaceBeforeOpeningBrace = ' ';
- public string $sIndentation = "\t";
- public boolean $bIgnoreExceptions = false;
- private $oFormatter = NULL;
- private $oNextLevelFormat = NULL;
- private integer $iIndentationLevel = 0;
- // methods
- public void __construct()
- public void get()
- public void set()
- public void __call()
- public void indentWithTabs()
- public void indentWithSpaces()
- public void nextLevel()
- public void beLenient()
- public void getFormatter()
- public void level()
- public static void create()
- public static void createCompact()
- public static void createPretty()
Members
private
- $iIndentationLevel
- $oFormatter
- $oNextLevelFormat
public
-
$bIgnoreExceptions
Output exceptions. - $bRGBHashNotation
- $bSemicolonAfterLastRule
- $sIndentation
- $sSpaceAfterBlocks
- $sSpaceAfterListArgumentSeparator
-
$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. - $sSpaceAfterRules
- $sSpaceAfterSelectorSeparator
- $sSpaceBeforeBlocks
- $sSpaceBeforeListArgumentSeparator
- $sSpaceBeforeOpeningBrace
- $sSpaceBeforeRules
- $sSpaceBeforeSelectorSeparator
- $sSpaceBetweenBlocks
- $sSpaceBetweenRules
- $sStringQuotingType