Метод |
Описание |
|
__construct ( SimplePie $feed, array $data ) |
Create a new item object |
|
__destruct ( ) |
Remove items that link back to this before destroying this object |
|
__toString ( ) : string |
Get a string representation of the item |
|
get_author ( integer $key ) : SimplePie_Author | null |
Get an author for the item |
|
get_authors ( ) : array | null |
Get all authors for the item |
|
get_base ( array $element = [] ) : string |
Get the base URL value from the parent feed |
|
get_categories ( ) : SimplePie_Category[] | null |
Get all categories for the item |
|
get_category ( integer $key ) : SimplePie_Category | null |
Get a category for the item |
|
get_content ( boolean $content_only = false ) : string | null |
Get the content for the item |
|
get_contributor ( integer $key ) : SimplePie_Author | null |
Get a contributor for the item |
|
get_contributors ( ) : array | null |
Get all contributors for the item |
|
get_copyright ( ) : string |
Get the copyright info for the item |
|
get_date ( string $date_format = 'j F Y, g:i a' ) : integer | string | null |
Get the posting date/time for the item |
|
get_description ( boolean $description_only = false ) : string | null |
Get the content for the item |
|
get_enclosure ( integer $key, $prefer = null ) : SimplePie_Enclosure | null |
Get an enclosure from the item |
|
get_enclosures ( ) : SimplePie_Enclosure[] | null |
Get all available enclosures (podcasts, etc.) |
|
get_feed ( ) : SimplePie |
Get the parent feed |
|
get_gmdate ( string $date_format = 'j F Y, g:i a' ) : integer | string | null |
Get the posting date/time for the item (UTC time) |
|
get_id ( boolean $hash = false, $fn = '' ) : string |
Get the unique identifier for the item |
|
get_item_tags ( string $namespace, string $tag ) : array |
Get data for an item-level element |
|
get_latitude ( ) : string | null |
Get the latitude coordinates for the item |
|
get_link ( integer $key, string $rel = 'alternate' ) : string | null |
Get a single link for the item |
|
get_links ( string $rel = 'alternate' ) : array | null |
Get all links for the item |
|
get_local_date ( string $date_format = '%c' ) : integer | string | null |
Get the localized posting date/time for the item |
|
get_longitude ( ) : string | null |
Get the longitude coordinates for the item |
|
get_permalink ( ) : string | null |
Get the permalink for the item |
|
get_source ( ) : SimplePie_Source | null |
Get the for the item |
|
get_thumbnail ( ) : array | null |
Get the media:thumbnail of the item |
|
get_title ( ) : string | null |
Get the title of the item |
|
get_updated_date ( string $date_format = 'j F Y, g:i a' ) : integer | string | null |
Get the update date/time for the item |
|
get_updated_gmdate ( string $date_format = 'j F Y, g:i a' ) : integer | string | null |
Get the update date/time for the item (UTC time) |
|
sanitize ( string $data, integer $type, string $base = '' ) : string |
Sanitize feed data |
|
set_registry ( SimplePie_Registry $registry ) |
Set the registry handler |
|