Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

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: 344 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: 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