Skip to content

Locator

Used for feed auto-discovery

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

Properties

useragent

public $useragent

timeout

public $timeout

file

public $file

local

public $local

elsewhere

public $elsewhere

cached_entities

public $cached_entities

http_base

public $http_base

base

public $base

base_location

public $base_location

checked_feeds

public $checked_feeds

max_checked_feeds

public $max_checked_feeds

force_fsockopen

public $force_fsockopen

curl_options

public $curl_options

dom

public $dom

registry

protected $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

public set_registry(\SimplePie\Registry $registry): void

Parameters:

Parameter Type Description
$registry \SimplePie\Registry

find

public find(mixed $type = SimplePieSimplePie::LOCATOR_ALL, mixed& $working = null): mixed

Parameters:

Parameter Type Description
$type mixed
$working mixed

is_feed

public is_feed(mixed $file, mixed $check_html = false): mixed

Parameters:

Parameter Type Description
$file mixed
$check_html mixed

get_base

public get_base(): mixed

autodiscovery

public autodiscovery(): mixed

search_elements_by_tag

protected search_elements_by_tag(mixed $name, mixed& $done, mixed $feeds): mixed

Parameters:

Parameter Type Description
$name mixed
$done mixed
$feeds mixed

public get_links(): mixed

public get_rel_link(mixed $rel): mixed

Parameters:

Parameter Type Description
$rel mixed

extension

public extension(mixed& $array): mixed

Parameters:

Parameter Type Description
$array mixed

body

public body(mixed& $array): mixed

Parameters:

Parameter Type Description
$array mixed


Automatically generated on 2025-03-18