Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401] [Versions 401 and 402] [Versions 401 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: Sam Sneddon
Author: Ryan McCue
Copyright: 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
File Size: 361 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