PATH:
home
/
carfac
/
.trash
/
wp-optimize
/
vendor
/
simplehtmldom
/
simplehtmldom
/
docs
/
HtmlDocument
```php load ( string $str [, bool $lowercase = true [, bool $stripRN = true [, string $defaultBRText = DEFAULT_BR_TEXT [, string $defaultSpanText = DEFAULT_SPAN_TEXT [, int $options = 0 ]]]]]) : object ``` Loads the provided HTML document string. | Parameter | Description | |-------------------|------------------------------------------------------------------------------------------------------------------------------------| | `str` | The HTML document string. | | `lowercase` | Tag names are parsed in lowercase letters if enabled. | | `stripRN` | Newline characters are replaced by whitespace if enabled. | | `defaultBRText` | Defines the default text to return for `<br>` elements. | | `defaultSpanText` | Defines the default text to return for `<span>` elements. | | `options` | Additional options for the parser. Currently supports `'HDOM_SMARTY_AS_TEXT'` to remove [Smarty](https://www.smarty.net/) scripts. | Returns the object.
[-] prepare.md
[edit]
[-] getElementByTagName.md
[edit]
[-] __construct.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] getElementsById.md
[edit]
[-] parse_charset.md
[edit]
[-] copy_skip.md
[edit]
[-] index.md
[edit]
[-] load.md
[edit]
[-] remove_callback.md
[edit]
[-] __destruct.md
[edit]
[-] as_text_node.md
[edit]
[-] childNodes.md
[edit]
[-] copy_until_char.md
[edit]
[-] loadFile.md
[edit]
[-] createElement.md
[edit]
[-] firstChild.md
[edit]
[-] restore_noise.md
[edit]
[-] search_noise.md
[edit]
[-] read_tag.md
[edit]
[-] remove_noise.md
[edit]
[-] parse.md
[edit]
[-] createTextNode.md
[edit]
[-] lastChild.md
[edit]
[-] link_nodes.md
[edit]
[-] getElementById.md
[edit]
[-] parse_attr.md
[edit]
[-] find.md
[edit]
[-] copy_until.md
[edit]
[-] __call.md
[edit]
[-] __toString.md
[edit]
[-] set_callback.md
[edit]
[-] __get.md
[edit]
[-] __debugInfo.md
[edit]
[-] expect.md
[edit]
[-] save.md
[edit]
[+]
..
[-] dump.md
[edit]