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

Defines 1 class

SimplePie_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: SimplePie_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 = array()   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