Class Options

  • package PHPHtmlParser
  • property bool $whitespaceTextNode
  • property bool $strict
  • property string|null $enforceEncoding
  • property bool $cleanupInput
  • property bool $removeScripts
  • property bool $removeStyles
  • property bool $preserveLineBreaks
  • property bool $removeDoubleSpace
  • property bool $removeSmartyScripts
  • property bool $depthFirstSearch
  • property bool $htmlSpecialCharsDecode
CloneableInstantiable
Methods
public __construct()
 
Sets the default options in the options array

public __get( $key)
public get(string $key)
 
Gets the value associated to the key, or null if the key is not found.

  • return mixed
public setOptions(array $options) : PHPHtmlParser\Options
 
Sets a new options param to override the current option array.

Properties
protected $defaults
 
The default options array

  • var array
protected $options
 
The list of all current options set.

  • var array
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only