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

Defines 1 class

Locator:: (11 methods):
  __construct()
  set_registry()
  find()
  is_feed()
  get_base()
  autodiscovery()
  search_elements_by_tag()
  get_links()
  get_rel_link()
  extension()
  body()


Class: Locator  - X-Ref

Used for feed auto-discovery

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

__construct(\SimplePie\File $file, $timeout = 10, $useragent = null, $max_checked_feeds = 10, $force_fsockopen = false, $curl_options = [])   X-Ref
No description

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

find($type = \SimplePie\SimplePie::LOCATOR_ALL, &$working = null)   X-Ref
No description

is_feed($file, $check_html = false)   X-Ref
No description

get_base()   X-Ref
No description

autodiscovery()   X-Ref
No description

search_elements_by_tag($name, &$done, $feeds)   X-Ref
No description

get_links()   X-Ref
No description

get_rel_link($rel)   X-Ref
No description

extension(&$array)   X-Ref
No description

body(&$array)   X-Ref
No description