Parses the XML Declaration
package | SimplePie |
---|---|
subpackage | Parsing |
__construct(string $data)
access | public |
---|
string
Input data
before_version_name()
encoding_equals()
encoding_name()
encoding_value()
get_value()
has_data() : boolean
access | private |
---|
boolean
true if there is further data, false if notparse() : boolean
access | public |
---|
boolean
true on success, false on failureskip_whitespace() : integer
integer
Number of whitespace characters passedstandalone_equals()
standalone_name()
standalone_value()
version_equals()
version_name()
version_value()
$data : string
''
access | private |
---|
$data_length : integer
0
access | private |
---|
$encoding : string
'UTF-8'
access | public |
---|
$position : integer
0
access | private |
---|
$standalone : boolean
false
access | public |
---|
$state : string
'before_version_name'
access | private |
---|
$version : string
'1.0'
access | public |
---|