class SimplePie_XML_Declaration_Parser


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

Parses the XML Declaration

Properties

string $version XML Version
string $encoding Encoding
bool $standalone Standalone
string $state Current state of the state machine
string $data Input data
int $data_length Input data length (to avoid calling strlen() everytime this is needed)
int $position Current position of the pointer

Methods

SimplePie_XML_Declaration_Parser(string $data)

Create an instance of the class with the input data

bool
parse()

Parse the input data

bool
has_data()

Check whether there is data beyond the pointer

int
skip_whitespace()

Advance past any whitespace

get_value()

Read value

before_version_name()

No description

version_name()

No description

version_equals()

No description

version_value()

No description

encoding_name()

No description

encoding_equals()

No description

encoding_value()

No description

standalone_name()

No description

standalone_equals()

No description

standalone_value()

No description

Details

at line 13803
SimplePie_XML_Declaration_Parser(string $data)

Create an instance of the class with the input data

Parameters

string $data Input data

at line 13815
bool parse()

Parse the input data

Return Value

bool true on success, false on failure

at line 13842
bool has_data()

Check whether there is data beyond the pointer

Return Value

bool true if there is further data, false if not

at line 13852
int skip_whitespace()

Advance past any whitespace

Return Value

int Number of whitespace characters passed

at line 13862
get_value()

Read value

at line 13879
before_version_name()

at line 13891
version_name()

at line 13905
version_equals()

at line 13919
version_value()

at line 13939
encoding_name()

at line 13953
encoding_equals()

at line 13967
encoding_value()

at line 13987
standalone_name()

at line 14001
standalone_equals()

at line 14015
standalone_value()