Moodle  2.2.1
http://www.collinsharper.com
SimplePie_XML_Declaration_Parser Class Reference

Public Member Functions

 __construct ($data)
 parse ()
 has_data ()
 skip_whitespace ()
 get_value ()
 before_version_name ()
 version_name ()
 version_equals ()
 version_value ()
 encoding_name ()
 encoding_equals ()
 encoding_value ()
 standalone_name ()
 standalone_equals ()
 standalone_value ()

Data Fields

 $version = '1.0'
 $encoding = 'UTF-8'
 $standalone = false
 $state = 'before_version_name'
 $data = ''
 $data_length = 0
 $position = 0

Detailed Description

Definition at line 13274 of file simplepie.class.php.


Constructor & Destructor Documentation

__construct ( data)

Create an instance of the class with the input data

public

Parameters:
string$dataInput data

Definition at line 13338 of file simplepie.class.php.


Member Function Documentation

Definition at line 13414 of file simplepie.class.php.

Definition at line 13488 of file simplepie.class.php.

Definition at line 13474 of file simplepie.class.php.

Definition at line 13502 of file simplepie.class.php.

get_value ( )

Read value

Definition at line 13397 of file simplepie.class.php.

has_data ( )

Check whether there is data beyond the pointer

private

Returns:
bool true if there is further data, false if not

Definition at line 13377 of file simplepie.class.php.

parse ( )

Parse the input data

public

Returns:
bool true on success, false on failure

Definition at line 13350 of file simplepie.class.php.

Advance past any whitespace

Returns:
int Number of whitespace characters passed

Definition at line 13387 of file simplepie.class.php.

Definition at line 13536 of file simplepie.class.php.

Definition at line 13522 of file simplepie.class.php.

Definition at line 13550 of file simplepie.class.php.

Definition at line 13440 of file simplepie.class.php.

Definition at line 13426 of file simplepie.class.php.

Definition at line 13454 of file simplepie.class.php.


Field Documentation

$data = ''

Definition at line 13314 of file simplepie.class.php.

$data_length = 0

Definition at line 13322 of file simplepie.class.php.

$encoding = 'UTF-8'

Definition at line 13290 of file simplepie.class.php.

$position = 0

Definition at line 13330 of file simplepie.class.php.

$standalone = false

Definition at line 13298 of file simplepie.class.php.

$state = 'before_version_name'

Definition at line 13306 of file simplepie.class.php.

$version = '1.0'

Definition at line 13282 of file simplepie.class.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations