PHP 클래스 SimplePie_XML_Declaration_Parser, ojs

파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$data string Input data
$data_length integer Input data length (to avoid calling strlen() every time this is needed)
$encoding string Encoding
$position integer Current position of the pointer
$standalone boolean Standalone
$state string Current state of the state machine
$version string XML Version

공개 메소드들

메소드 설명
SimplePie_XML_Declaration_Parser ( string $data ) Create an instance of the class with the input data
before_version_name ( )
encoding_equals ( )
encoding_name ( )
encoding_value ( )
get_value ( ) Read value
has_data ( ) : boolean Check whether there is data beyond the pointer
parse ( ) : boolean Parse the input data
skip_whitespace ( ) : integer Advance past any whitespace
standalone_equals ( )
standalone_name ( )
standalone_value ( )
version_equals ( )
version_name ( )
version_value ( )

메소드 상세

SimplePie_XML_Declaration_Parser() 공개 메소드

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

before_version_name() 공개 메소드

public before_version_name ( )

encoding_equals() 공개 메소드

public encoding_equals ( )

encoding_name() 공개 메소드

public encoding_name ( )

encoding_value() 공개 메소드

public encoding_value ( )

get_value() 공개 메소드

Read value
public get_value ( )

has_data() 공개 메소드

Check whether there is data beyond the pointer
public has_data ( ) : boolean
리턴 boolean true if there is further data, false if not

parse() 공개 메소드

Parse the input data
public parse ( ) : boolean
리턴 boolean true on success, false on failure

skip_whitespace() 공개 메소드

Advance past any whitespace
public skip_whitespace ( ) : integer
리턴 integer Number of whitespace characters passed

standalone_equals() 공개 메소드

public standalone_equals ( )

standalone_name() 공개 메소드

public standalone_name ( )

standalone_value() 공개 메소드

public standalone_value ( )

version_equals() 공개 메소드

public version_equals ( )

version_name() 공개 메소드

public version_name ( )

version_value() 공개 메소드

public version_value ( )

프로퍼티 상세

$data 공개적으로 프로퍼티

Input data
public string $data
리턴 string

$data_length 공개적으로 프로퍼티

Input data length (to avoid calling strlen() every time this is needed)
public int $data_length
리턴 integer

$encoding 공개적으로 프로퍼티

Encoding
public string $encoding
리턴 string

$position 공개적으로 프로퍼티

Current position of the pointer
public int $position
리턴 integer

$standalone 공개적으로 프로퍼티

Standalone
public bool $standalone
리턴 boolean

$state 공개적으로 프로퍼티

Current state of the state machine
public string $state
리턴 string

$version 공개적으로 프로퍼티

XML Version
public string $version
리턴 string