Documentation

PlaceLocalInclude

Packages

simple

Interfaces, Classes and Traits

simple_html_dom_node
simple html dom node PaperG - added ability for "find" routine to lowercase the value of the selector.
simple_html_dom
simple html dom parser Paperg - in the find routine: allow us to specify that we want case insensitive testing of the value of the selector.
simple_html_dom_node
simple html dom node PaperG - added ability for "find" routine to lowercase the value of the selector.
simple_html_dom
simple html dom parser Paperg - in the find routine: allow us to specify that we want case insensitive testing of the value of the selector.

Table of Contents

DEFAULT_BR_TEXT  = " "
DEFAULT_BR_TEXT  = " "
DEFAULT_SPAN_TEXT  = " "
DEFAULT_SPAN_TEXT  = " "
DEFAULT_TARGET_CHARSET  = 'UTF-8'
DEFAULT_TARGET_CHARSET  = 'UTF-8'
HDOM_INFO_BEGIN  = 0
HDOM_INFO_BEGIN  = 0
HDOM_INFO_END  = 1
HDOM_INFO_END  = 1
HDOM_INFO_ENDSPACE  = 7
HDOM_INFO_ENDSPACE  = 7
HDOM_INFO_INNER  = 5
HDOM_INFO_INNER  = 5
HDOM_INFO_OUTER  = 6
HDOM_INFO_OUTER  = 6
HDOM_INFO_QUOTE  = 2
HDOM_INFO_QUOTE  = 2
HDOM_INFO_SPACE  = 3
HDOM_INFO_SPACE  = 3
HDOM_INFO_TEXT  = 4
HDOM_INFO_TEXT  = 4
HDOM_QUOTE_DOUBLE  = 0
HDOM_QUOTE_DOUBLE  = 0
HDOM_QUOTE_NO  = 3
HDOM_QUOTE_NO  = 3
HDOM_QUOTE_SINGLE  = 1
HDOM_QUOTE_SINGLE  = 1
HDOM_SMARTY_AS_TEXT  = 1
Contents between curly braces "{" and "}" are interpreted as text
HDOM_SMARTY_AS_TEXT  = 1
Contents between curly braces "{" and "}" are interpreted as text
HDOM_TYPE_COMMENT  = 2
HDOM_TYPE_COMMENT  = 2
HDOM_TYPE_ELEMENT  = 1
All of the Defines for the classes below.
HDOM_TYPE_ELEMENT  = 1
All of the Defines for the classes below.
HDOM_TYPE_ENDTAG  = 4
HDOM_TYPE_ENDTAG  = 4
HDOM_TYPE_ROOT  = 5
HDOM_TYPE_ROOT  = 5
HDOM_TYPE_TEXT  = 3
HDOM_TYPE_TEXT  = 3
HDOM_TYPE_UNKNOWN  = 6
HDOM_TYPE_UNKNOWN  = 6
MAX_FILE_SIZE  = 600000
MAX_FILE_SIZE  = 600000
file_get_html()  : mixed
str_get_html()  : mixed
dump_html_tree()  : mixed
file_get_html()  : mixed
str_get_html()  : mixed
dump_html_tree()  : mixed

Constants

DEFAULT_TARGET_CHARSET

public mixed DEFAULT_TARGET_CHARSET = 'UTF-8'

HDOM_SMARTY_AS_TEXT

Contents between curly braces "{" and "}" are interpreted as text

public mixed HDOM_SMARTY_AS_TEXT = 1

HDOM_SMARTY_AS_TEXT

Contents between curly braces "{" and "}" are interpreted as text

public mixed HDOM_SMARTY_AS_TEXT = 1

Functions

file_get_html()

file_get_html(mixed $url[, mixed $use_include_path = false ][, mixed $context = null ], mixed $offset[, mixed $maxLen = -1 ][, mixed $lowercase = true ][, mixed $forceTagsClosed = true ][, mixed $target_charset = DEFAULT_TARGET_CHARSET ][, mixed $stripRN = true ][, mixed $defaultBRText = DEFAULT_BR_TEXT ][, mixed $defaultSpanText = DEFAULT_SPAN_TEXT ]) : mixed
Parameters
$url : mixed
$use_include_path : mixed = false
$context : mixed = null
$offset : mixed
$maxLen : mixed = -1
$lowercase : mixed = true
$forceTagsClosed : mixed = true
$target_charset : mixed = DEFAULT_TARGET_CHARSET
$stripRN : mixed = true
$defaultBRText : mixed = DEFAULT_BR_TEXT
$defaultSpanText : mixed = DEFAULT_SPAN_TEXT
Return values
mixed

str_get_html()

str_get_html(mixed $str[, mixed $lowercase = true ][, mixed $forceTagsClosed = true ][, mixed $target_charset = DEFAULT_TARGET_CHARSET ][, mixed $stripRN = true ][, mixed $defaultBRText = DEFAULT_BR_TEXT ][, mixed $defaultSpanText = DEFAULT_SPAN_TEXT ]) : mixed
Parameters
$str : mixed
$lowercase : mixed = true
$forceTagsClosed : mixed = true
$target_charset : mixed = DEFAULT_TARGET_CHARSET
$stripRN : mixed = true
$defaultBRText : mixed = DEFAULT_BR_TEXT
$defaultSpanText : mixed = DEFAULT_SPAN_TEXT
Return values
mixed

dump_html_tree()

dump_html_tree(mixed $node[, mixed $show_attr = true ], mixed $deep) : mixed
Parameters
$node : mixed
$show_attr : mixed = true
$deep : mixed
Return values
mixed

file_get_html()

file_get_html(mixed $url[, mixed $use_include_path = false ][, mixed $context = null ], mixed $offset[, mixed $maxLen = -1 ][, mixed $lowercase = true ][, mixed $forceTagsClosed = true ][, mixed $target_charset = DEFAULT_TARGET_CHARSET ][, mixed $stripRN = true ][, mixed $defaultBRText = DEFAULT_BR_TEXT ][, mixed $defaultSpanText = DEFAULT_SPAN_TEXT ]) : mixed
Parameters
$url : mixed
$use_include_path : mixed = false
$context : mixed = null
$offset : mixed
$maxLen : mixed = -1
$lowercase : mixed = true
$forceTagsClosed : mixed = true
$target_charset : mixed = DEFAULT_TARGET_CHARSET
$stripRN : mixed = true
$defaultBRText : mixed = DEFAULT_BR_TEXT
$defaultSpanText : mixed = DEFAULT_SPAN_TEXT
Return values
mixed

str_get_html()

str_get_html(mixed $str[, mixed $lowercase = true ][, mixed $forceTagsClosed = true ][, mixed $target_charset = DEFAULT_TARGET_CHARSET ][, mixed $stripRN = true ][, mixed $defaultBRText = DEFAULT_BR_TEXT ][, mixed $defaultSpanText = DEFAULT_SPAN_TEXT ]) : mixed
Parameters
$str : mixed
$lowercase : mixed = true
$forceTagsClosed : mixed = true
$target_charset : mixed = DEFAULT_TARGET_CHARSET
$stripRN : mixed = true
$defaultBRText : mixed = DEFAULT_BR_TEXT
$defaultSpanText : mixed = DEFAULT_SPAN_TEXT
Return values
mixed

dump_html_tree()

dump_html_tree(mixed $node[, mixed $show_attr = true ], mixed $deep) : mixed
Parameters
$node : mixed
$show_attr : mixed = true
$deep : mixed
Return values
mixed

Search results