PHP Class SimplePie_XML_Declaration_Parser, ojs

Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
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 ( )

Method Details

SimplePie_XML_Declaration_Parser() public méthode

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 méthode

public before_version_name ( )

encoding_equals() public méthode

public encoding_equals ( )

encoding_name() public méthode

public encoding_name ( )

encoding_value() public méthode

public encoding_value ( )

get_value() public méthode

Read value
public get_value ( )

has_data() public méthode

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

parse() public méthode

Parse the input data
public parse ( ) : boolean
Résultat boolean true on success, false on failure

skip_whitespace() public méthode

Advance past any whitespace
public skip_whitespace ( ) : integer
Résultat integer Number of whitespace characters passed

standalone_equals() public méthode

public standalone_equals ( )

standalone_name() public méthode

public standalone_name ( )

standalone_value() public méthode

public standalone_value ( )

version_equals() public méthode

public version_equals ( )

version_name() public méthode

public version_name ( )

version_value() public méthode

public version_value ( )

Property Details

$data public_oe property

Input data
public string $data
Résultat string

$data_length public_oe property

Input data length (to avoid calling strlen() every time this is needed)
public int $data_length
Résultat integer

$encoding public_oe property

Encoding
public string $encoding
Résultat string

$position public_oe property

Current position of the pointer
public int $position
Résultat integer

$standalone public_oe property

Standalone
public bool $standalone
Résultat boolean

$state public_oe property

Current state of the state machine
public string $state
Résultat string

$version public_oe property

XML Version
public string $version
Résultat string