Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution.

Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Copyright: 2004-2016 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
File Size: 359 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SimplePie_XML_Declaration_Parser:: (15 methods):
  __construct()
  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()


Class: SimplePie_XML_Declaration_Parser  - X-Ref

Parses the XML Declaration

__construct($data)   X-Ref
Create an instance of the class with the input data

param: string $data Input data

parse()   X-Ref
Parse the input data

return: bool true on success, false on failure

has_data()   X-Ref
Check whether there is data beyond the pointer

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

skip_whitespace()   X-Ref
Advance past any whitespace

return: int Number of whitespace characters passed

get_value()   X-Ref
Read value


before_version_name()   X-Ref
No description

version_name()   X-Ref
No description

version_equals()   X-Ref
No description

version_value()   X-Ref
No description

encoding_name()   X-Ref
No description

encoding_equals()   X-Ref
No description

encoding_value()   X-Ref
No description

standalone_name()   X-Ref
No description

standalone_equals()   X-Ref
No description

standalone_value()   X-Ref
No description