Locator
Used for feed auto-discovery
This class can be overloaded with {@see \SimplePie\SimplePie::set_locator_class()}
- Full name:
\SimplePie\Locator
- This class implements:
\SimplePie\RegistryAware
Properties
useragent
timeout
file
local
elsewhere
cached_entities
http_base
base
base_location
checked_feeds
max_checked_feeds
force_fsockopen
curl_options
dom
registry
Methods
__construct
public __construct(\SimplePie\File $file, mixed $timeout = 10, mixed $useragent = null, mixed $max_checked_feeds = 10, mixed $force_fsockopen = false, mixed $curl_options = []): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
\SimplePie\File | |
$timeout |
mixed | |
$useragent |
mixed | |
$max_checked_feeds |
mixed | |
$force_fsockopen |
mixed | |
$curl_options |
mixed |
set_registry
Set the Registry into the class
Parameters:
Parameter | Type | Description |
---|---|---|
$registry |
\SimplePie\Registry |
find
Parameters:
Parameter | Type | Description |
---|---|---|
$type |
mixed | |
$working |
mixed |
is_feed
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
mixed | |
$check_html |
mixed |
get_base
autodiscovery
search_elements_by_tag
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
mixed | |
$done |
mixed | |
$feeds |
mixed |
get_links
get_rel_link
Parameters:
Parameter | Type | Description |
---|---|---|
$rel |
mixed |
extension
Parameters:
Parameter | Type | Description |
---|---|---|
$array |
mixed |
body
Parameters:
Parameter | Type | Description |
---|---|---|
$array |
mixed |
Automatically generated on 2025-03-18