Overview

Packages

  • None
  • SimplePie

Classes

  • SimplePie
  • SimplePie_Author
  • SimplePie_Autoloader
  • SimplePie_Cache
  • SimplePie_Cache_DB
  • SimplePie_Cache_File
  • SimplePie_Cache_Memcache
  • SimplePie_Cache_MySQL
  • SimplePie_Caption
  • SimplePie_Category
  • SimplePie_Content_Type_Sniffer
  • SimplePie_Copyright
  • SimplePie_Core
  • SimplePie_Credit
  • SimplePie_Decode_HTML_Entities
  • SimplePie_Enclosure
  • SimplePie_File
  • SimplePie_gzdecode
  • SimplePie_HTTP_Parser
  • SimplePie_IRI
  • SimplePie_Item
  • SimplePie_Locator
  • SimplePie_Misc
  • SimplePie_Net_IPv6
  • SimplePie_Parse_Date
  • SimplePie_Parser
  • SimplePie_Rating
  • SimplePie_Registry
  • SimplePie_Restriction
  • SimplePie_Sanitize
  • SimplePie_Source
  • SimplePie_XML_Declaration_Parser

Interfaces

  • SimplePie_Cache_Base
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class SimplePie_XML_Declaration_Parser

Parses the XML Declaration

Package: SimplePie
Located at SimplePie/XML/Declaration/Parser.php
Methods summary
public
# __construct( string $data )

Create an instance of the class with the input data

Create an instance of the class with the input data

Parameters

$data
string
Input data
public boolean
# parse( )

Parse the input data

Parse the input data

Returns

boolean
true on success, false on failure
public boolean
# has_data( )

Check whether there is data beyond the pointer

Check whether there is data beyond the pointer

Returns

boolean
true if there is further data, false if not
public integer
# skip_whitespace( )

Advance past any whitespace

Advance past any whitespace

Returns

integer
Number of whitespace characters passed
public
# get_value( )

Read value

Read value

public
# before_version_name( )
public
# version_name( )
public
# version_equals( )
public
# version_value( )
public
# encoding_name( )
public
# encoding_equals( )
public
# encoding_value( )
public
# standalone_name( )
public
# standalone_equals( )
public
# standalone_value( )
Properties summary
public string $version '1.0'
#

XML Version

XML Version

public string $encoding 'UTF-8'
#

Encoding

Encoding

public boolean $standalone false
#

Standalone

Standalone

public string $state 'before_version_name'
#

Current state of the state machine

Current state of the state machine

public string $data ''
#

Input data

Input data

public integer $data_length 0
#

Input data length (to avoid calling strlen() everytime this is needed)

Input data length (to avoid calling strlen() everytime this is needed)

public integer $position 0
#

Current position of the pointer

Current position of the pointer

SimplePie Documentation API documentation generated by ApiGen 2.4.0