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.
Paperg - change $size from protected to public so we can easily access it Paperg - added ForceTagsClosed in the constructor which tells us whether we trust the html or not. Default is to NOT trust it.
package | PlaceLocalInclude |
---|
__construct($str, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText)
__destruct()
__get($name)
__toString()
childNodes($idx)
clear()
dump($show_attr)
find($selector, $idx, $lowercase)
firstChild()
getElementById($id)
getElementByTagName($name)
getElementsById($id, $idx)
getElementsByTagName($name, $idx)
lastChild()
load($str, $lowercase, $stripRN, $defaultBRText)
loadFile()
load_file()
remove_callback()
restore_noise($text)
save($filepath)
set_callback($function_name)
as_text_node($tag)
copy_skip($chars)
copy_until($chars)
copy_until_char($char)
copy_until_char_escape($char)
link_nodes($node, $is_child)
parse()
parse_attr($node, $name, $space)
parse_charset()
prepare($str, $lowercase, $stripRN, $defaultBRText)
read_tag()
remove_noise($pattern, $remove_tag)
skip($chars)
$callback
$lowercase
$nodes
$root
$size
$_charset
$_target_charset
$char
$cursor
$default_br_text
$doc
$noise
$parent
$pos
$token_attr
$token_blank
$token_equal
$token_slash