Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Locator Class Reference

Used for feed auto-discovery. More...

Inheritance diagram for Locator:
RegistryAware

Public Member Functions

 __construct (\SimplePie\File $file, $timeout=10, $useragent=null, $max_checked_feeds=10, $force_fsockopen=false, $curl_options=[])
 
 autodiscovery ()
 
 body (&$array)
 
 extension (&$array)
 
 find ($type=SimplePie\SimplePie::LOCATOR_ALL, &$working=null)
 
 get_base ()
 
 get_links ()
 
 get_rel_link ($rel)
 
 is_feed ($file, $check_html=false)
 
 set_registry (\SimplePie\Registry $registry)
 
 set_registry (Registry $registry)
 Set the Registry into the class.
 

Public Attributes

 $base
 
 $base_location = 0
 
 $cached_entities = []
 
 $checked_feeds = 0
 
 $curl_options = []
 
 $dom
 
 $elsewhere = []
 
 $file
 
 $force_fsockopen = false
 
 $http_base
 
 $local = []
 
 $max_checked_feeds = 10
 
 $timeout
 
 $useragent
 

Protected Member Functions

 search_elements_by_tag ($name, &$done, $feeds)
 

Protected Attributes

 $registry
 

Detailed Description

Used for feed auto-discovery.

This class can be overloaded with {

See also
SimplePie\SimplePie\set_locator_class()}

Member Function Documentation

◆ set_registry()

RegistryAware::set_registry ( Registry $registry)
inherited

Set the Registry into the class.

Parameters
Registry$registry
Return values
void

The documentation for this class was generated from the following file: