◆ beStrict()
Sabberworm\CSS\Settings::beStrict |
( |
| ) |
|
◆ create()
static Sabberworm\CSS\Settings::create |
( |
| ) |
|
|
static |
◆ withDefaultCharset()
Sabberworm\CSS\Settings::withDefaultCharset |
( |
| $sDefaultCharset | ) |
|
◆ withLenientParsing()
Sabberworm\CSS\Settings::withLenientParsing |
( |
| $bLenientParsing = true | ) |
|
◆ withMultibyteSupport()
Sabberworm\CSS\Settings::withMultibyteSupport |
( |
| $bMultibyteSupport = true | ) |
|
◆ $bLenientParsing
bool Sabberworm\CSS\Settings::$bLenientParsing = true |
Lenient parsing.
When used (which is true by default), the parser will not choke on unexpected tokens but simply ignore them.
◆ $bMultibyteSupport
bool Sabberworm\CSS\Settings::$bMultibyteSupport |
Multi-byte string support.
If true (mbstring extension must be enabled), will use (slower) mb_strlen
, mb_convert_case
, mb_substr
and mb_strpos
functions. Otherwise, the normal (ASCII-Only) functions will be used.
◆ $sDefaultCharset
string Sabberworm\CSS\Settings::$sDefaultCharset = 'utf-8' |
The default charset for the CSS if no @charset
rule is found.
Defaults to utf-8.
The documentation for this class was generated from the following file:
- lib/php-css-parser/Settings.php