PATH:
home
/
lab2454c
/
keebchat.com
/
core
/
libs
/
htmlParser
/
manual
/
docs
/
api
/
simple_html_dom
# load ```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.
[-] childNodes.md
[edit]
[-] simple_html_dom.md
[edit]
[-] firstChild.md
[edit]
[-] set_callback.md
[edit]
[-] as_text_node.md
[edit]
[+]
..
[-] createElement.md
[edit]
[-] copy_skip.md
[edit]
[-] lastChild.md
[edit]
[-] restore_noise.md
[edit]
[-] clear.md
[edit]
[-] getElementById.md
[edit]
[-] parse_attr.md
[edit]
[-] copy_until_char.md
[edit]
[-] getElementsById.md
[edit]
[-] load_file.md
[edit]
[-] copy_until.md
[edit]
[-] loadFile.md
[edit]
[-] __get.md
[edit]
[-] dump.md
[edit]
[-] parse_charset.md
[edit]
[-] getElementByTagName.md
[edit]
[-] __destruct.md
[edit]
[-] remove_noise.md
[edit]
[-] prepare.md
[edit]
[-] __construct.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] read_tag.md
[edit]
[-] load.md
[edit]
[-] skip.md
[edit]
[-] remove_callback.md
[edit]
[-] find.md
[edit]
[-] search_noise.md
[edit]
[-] save.md
[edit]
[-] link_nodes.md
[edit]
[-] __toString.md
[edit]
[-] parse.md
[edit]
[-] createTextNode.md
[edit]