class SimplePie_Decode_HTML_Entities


Located at : UKNOWVA_ROOT/libraries/simplepie/simplepie.php

Decode HTML Entities

This implements HTML5 as of revision 967 (2007-06-28)

Properties

string $data Data to be parsed
string $consumed Currently consumed bytes
int $position Position of the current byte being parsed

Methods

SimplePie_Decode_HTML_Entities(string $data)

Create an instance of the class with the input data

string
parse()

Parse the input data

mixed
consume()

Consume the next byte

mixed
consume_range(string $chars)

Consume a range of characters

unconsume()

Unconsume one byte

entity()

Decode an entity

Details

at line 11403
SimplePie_Decode_HTML_Entities(string $data)

Create an instance of the class with the input data

Parameters

string $data Input data

at line 11414
string parse()

Parse the input data

Return Value

string Output data

at line 11431
mixed consume()

Consume the next byte

Return Value

mixed The next byte, or false, if there is no more data

at line 11451
mixed consume_range(string $chars)

Consume a range of characters

Parameters

string $chars Characters to consume

Return Value

mixed A series of characters that match the range, or false

at line 11471
unconsume()

Unconsume one byte

at line 11482
entity()

Decode an entity