SimplePie_XML_Declaration_Parser
in package
Table of Contents
Properties
- $data : mixed
- $data_length : mixed
- $encoding : mixed
- $position : mixed
- $standalone : mixed
- $state : mixed
- $version : mixed
Methods
- __construct() : mixed
- before_version_name() : mixed
- encoding_equals() : mixed
- encoding_name() : mixed
- encoding_value() : mixed
- get_value() : mixed
- Read value
- has_data() : bool
- Check whether there is data beyond the pointer
- parse() : bool
- Parse the input data
- skip_whitespace() : int
- Advance past any whitespace
- standalone_equals() : mixed
- standalone_name() : mixed
- standalone_value() : mixed
- version_equals() : mixed
- version_name() : mixed
- version_value() : mixed
Properties
$data
public
mixed
$data
= ''
$data_length
public
mixed
$data_length
= 0
$encoding
public
mixed
$encoding
= 'UTF-8'
$position
public
mixed
$position
= 0
$standalone
public
mixed
$standalone
= \false
$state
public
mixed
$state
= 'before_version_name'
$version
public
mixed
$version
= '1.0'
Methods
__construct()
public
__construct(mixed $data) : mixed
Parameters
- $data : mixed
before_version_name()
public
before_version_name() : mixed
encoding_equals()
public
encoding_equals() : mixed
encoding_name()
public
encoding_name() : mixed
encoding_value()
public
encoding_value() : mixed
get_value()
Read value
public
get_value() : mixed
has_data()
Check whether there is data beyond the pointer
public
has_data() : bool
Tags
Return values
bool —true if there is further data, false if not
parse()
Parse the input data
public
parse() : bool
Tags
Return values
bool —true on success, false on failure
skip_whitespace()
Advance past any whitespace
public
skip_whitespace() : int
Return values
int —Number of whitespace characters passed
standalone_equals()
public
standalone_equals() : mixed
standalone_name()
public
standalone_name() : mixed
standalone_value()
public
standalone_value() : mixed
version_equals()
public
version_equals() : mixed
version_name()
public
version_name() : mixed
version_value()
public
version_value() : mixed