Summary
- File
- Package hierarchy Content\Feed
- Class hierarchy \FeedData
Contains meta-informations about a feed with its entries
Contains meta-informations about a feed with its entries
__construct(\FeedData $data = null)
Builds a FeedData Object
\FeedData | $data | an other FeedData object to clone |
None found |
set_title(string $value)
Sets the feed title
string | $value | The title |
None found |
set_date(\Date $value)
Sets the feed data date
\Date | $value | a date object representing the feed date |
None found |
set_desc(string $value)
Sets the feed description
string | $value | the feed description |
None found |
set_lang(string $value)
Sets the feed language
string | $value | the feed language |
None found |
set_host(string $value)
Sets the feed host
string | $value | the feed host |
None found |
set_auth_bit(integer $value)
Sets the feed auth bit, useful to check authorizations
integer | $value | the bit position in an int (from 1 to 32) |
None found |
set_link(mixed $value)
Sets the feed item link
mixed | $value | a string url or an Url object |
None found |
add_item( $item)
$item |
None found |
get_title()
None found |
get_link()
None found |
get_date()
None found |
get_date_rfc2822()
None found |
get_date_iso8601()
None found |
get_date_text()
None found |
get_desc()
None found |
get_lang()
None found |
get_host()
None found |
get_items() : array<mixed,\FeedItem>
Returns the feed items
the feed items
None found |
serialize()
None found |
subitems(integer $number = 10, integer $begin_at) : array<mixed,\FeedItem>
Returns a items list containing $number items starting from the $begin_at one
integer | $number | the number of items to retrieve |
integer | $begin_at | the number of the first to retrieve |
the items list containing $number items starting from the $begin_at one
None found |