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

Defines 1 class

Parser:: (15 methods):
  set_registry()
  parse()
  get_error_code()
  get_error_string()
  get_current_line()
  get_current_column()
  get_current_byte()
  get_data()
  tag_open()
  cdata()
  tag_close()
  split_ns()
  parse_hcard()
  parse_microformats()
  declare_html_entities()


Class: Parser  - X-Ref

Parses XML into something sane

This class can be overloaded with {@see \SimplePie\SimplePie::set_parser_class()}

set_registry(\SimplePie\Registry $registry)   X-Ref
No description

parse(&$data, $encoding, $url = '')   X-Ref
No description

get_error_code()   X-Ref
No description

get_error_string()   X-Ref
No description

get_current_line()   X-Ref
No description

get_current_column()   X-Ref
No description

get_current_byte()   X-Ref
No description

get_data()   X-Ref
No description

tag_open($parser, $tag, $attributes)   X-Ref
No description

cdata($parser, $cdata)   X-Ref
No description

tag_close($parser, $tag)   X-Ref
No description

split_ns($string)   X-Ref
No description

parse_hcard($data, $category = false)   X-Ref
No description

parse_microformats(&$data, $url)   X-Ref
No description

declare_html_entities()   X-Ref
No description