Skip to content

Source

Handles <atom:source>

Used by {@see \SimplePie\Item::get_source()}

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

Properties

item

public $item

data

public $data

registry

protected $registry

Methods

__construct

public __construct(mixed $item, mixed $data): mixed

Parameters:

Parameter Type Description
$item mixed
$data mixed

set_registry

Set the Registry into the class

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

Parameters:

Parameter Type Description
$registry \SimplePie\Registry

__toString

public __toString(): mixed

get_source_tags

public get_source_tags(mixed $namespace, mixed $tag): mixed

Parameters:

Parameter Type Description
$namespace mixed
$tag mixed

get_base

public get_base(mixed $element = []): mixed

Parameters:

Parameter Type Description
$element mixed

sanitize

public sanitize(mixed $data, mixed $type, mixed $base = &#039;&#039;): mixed

Parameters:

Parameter Type Description
$data mixed
$type mixed
$base mixed

get_item

public get_item(): mixed

get_title

public get_title(): mixed

get_category

public get_category(mixed $key): mixed

Parameters:

Parameter Type Description
$key mixed

get_categories

public get_categories(): mixed

get_author

public get_author(mixed $key): mixed

Parameters:

Parameter Type Description
$key mixed

get_authors

public get_authors(): mixed

get_contributor

public get_contributor(mixed $key): mixed

Parameters:

Parameter Type Description
$key mixed

get_contributors

public get_contributors(): mixed

public get_link(mixed $key, mixed $rel = &#039;alternate&#039;): mixed

Parameters:

Parameter Type Description
$key mixed
$rel mixed

Added for parity between the parent-level and the item/entry-level.

public get_permalink(): mixed

public get_links(mixed $rel = &#039;alternate&#039;): mixed

Parameters:

Parameter Type Description
$rel mixed

get_description

public get_description(): mixed

public get_copyright(): mixed

get_language

public get_language(): mixed

get_latitude

public get_latitude(): mixed

get_longitude

public get_longitude(): mixed

get_image_url

public get_image_url(): mixed


Automatically generated on 2025-03-18