Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.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: 464 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Source:: (23 methods):
  __construct()
  set_registry()
  __toString()
  get_source_tags()
  get_base()
  sanitize()
  get_item()
  get_title()
  get_category()
  get_categories()
  get_author()
  get_authors()
  get_contributor()
  get_contributors()
  get_link()
  get_permalink()
  get_links()
  get_description()
  get_copyright()
  get_language()
  get_latitude()
  get_longitude()
  get_image_url()


Class: Source  - X-Ref

Handles `<atom:source>`

Used by {@see \SimplePie\Item::get_source()}

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

__construct($item, $data)   X-Ref
No description

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

__toString()   X-Ref
No description

get_source_tags($namespace, $tag)   X-Ref
No description

get_base($element = [])   X-Ref
No description

sanitize($data, $type, $base = '')   X-Ref
No description

get_item()   X-Ref
No description

get_title()   X-Ref
No description

get_category($key = 0)   X-Ref
No description

get_categories()   X-Ref
No description

get_author($key = 0)   X-Ref
No description

get_authors()   X-Ref
No description

get_contributor($key = 0)   X-Ref
No description

get_contributors()   X-Ref
No description

get_link($key = 0, $rel = 'alternate')   X-Ref
No description

get_permalink()   X-Ref
Added for parity between the parent-level and the item/entry-level.


get_links($rel = 'alternate')   X-Ref
No description

get_description()   X-Ref
No description

get_copyright()   X-Ref
No description

get_language()   X-Ref
No description

get_latitude()   X-Ref
No description

get_longitude()   X-Ref
No description

get_image_url()   X-Ref
No description