PHP 클래스 SimplePie_Decode_HTML_Entities, ojs

This implements HTML5 as of revision 967 (2007-06-28)
사용 중단: Use DOMDocument instead!
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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