Свойство | 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é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 ( ) |
public SimplePie_XML_Declaration_Parser ( string $data ) | ||
$data | string | Input data |
public skip_whitespace ( ) : integer | ||
Résultat | integer | Number of whitespace characters passed |
public int $data_length | ||
Résultat | integer |