PHP Класс SimplePie_Decode_HTML_Entities, ojs

This implements HTML5 as of revision 967 (2007-06-28)
Устаревший: Use DOMDocument instead!
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$consumed string Currently consumed bytes
$data string Data to be parsed
$position integer Position of the current byte being parsed

Открытые методы

Метод Описание
SimplePie_Decode_HTML_Entities ( string $data ) Create an instance of the class with the input data
consume ( ) : mixed Consume the next byte
consume_range ( string $chars ) : mixed Consume a range of characters
entity ( ) Decode an entity
parse ( ) : string Parse the input data
unconsume ( ) Unconsume one byte

Описание методов

SimplePie_Decode_HTML_Entities() публичный Метод

Create an instance of the class with the input data
public SimplePie_Decode_HTML_Entities ( string $data )
$data string Input data

consume() публичный Метод

Consume the next byte
public consume ( ) : mixed
Результат mixed The next byte, or false, if there is no more data

consume_range() публичный Метод

Consume a range of characters
public consume_range ( string $chars ) : mixed
$chars string Characters to consume
Результат mixed A series of characters that match the range, or false

entity() публичный Метод

Decode an entity
public entity ( )

parse() публичный Метод

Parse the input data
public parse ( ) : string
Результат string Output data

unconsume() публичный Метод

Unconsume one byte
public unconsume ( )

Описание свойств

$consumed публичное свойство

Currently consumed bytes
public string $consumed
Результат string

$data публичное свойство

Data to be parsed
public string $data
Результат string

$position публичное свойство

Position of the current byte being parsed
public int $position
Результат integer