PHP Class Habari\HTMLTokenizer

For use by HTMLParser.
Show file Open project: habari/system

Public Methods

Method Description
__construct ( $html, $escape = true )
has_more ( )
parse ( )

Private Methods

Method Description
dec ( $n = 1 )
get ( )
inc ( $n = 1 )
node ( $type, $name, $value, $attrs )
parse_attributes ( )
parse_element_close ( )
parse_element_open ( )
parse_pi ( )
parse_start ( )
parse_statement ( )
parse_tag ( )
peek ( )
skip_whitespace ( )
up_to_chr ( $chr )
up_to_str ( $str )

Method Details

__construct() public method

public __construct ( $html, $escape = true )

has_more() public method

public has_more ( )

parse() public method

public parse ( )