FeedData Package: Content\Feed Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 30 Since: PHPBoost 2.0 - 2008 06 21 Contributor: Julien BRISWALTER j1.seth@phpboost.com Located at: content/feed/FeedData.class.php Contains meta-informations about a feed with its entries Methods summary public # __construct( FeedData $data = null ) Builds a FeedData Object Builds a FeedData Object Parameters $data an other FeedData object to clone public # set_title( string $value ) Sets the feed title Sets the feed title Parameters $value The title public # set_date( Date $value ) Sets the feed data date Sets the feed data date Parameters $value a date object representing the feed date public # set_desc( string $value ) Sets the feed description Sets the feed description Parameters $value the feed description public # set_lang( string $value ) Sets the feed language Sets the feed language Parameters $value the feed language public # set_host( string $value ) Sets the feed host Sets the feed host Parameters $value the feed host public # set_auth_bit( integer $value ) Sets the feed auth bit, useful to check authorizations Sets the feed auth bit, useful to check authorizations Parameters $value the bit position in an int (from 1 to 32) public # set_link( mixed $value ) Sets the feed item link Sets the feed item link Parameters $value a string url or an Url object public # add_item( $item ) public # get_title( ) public # get_link( ) public # get_date( ) public # get_date_rfc2822( ) public # get_date_iso8601( ) public # get_date_text( ) public # get_desc( ) public # get_lang( ) public # get_host( ) public FeedItem[] # get_items( ) Returns the feed items Returns the feed items Returns FeedItem[]the feed items public # serialize( ) public FeedItem[] # subitems( integer $number = 10, integer $begin_at = 0 ) Returns a items list containing $number items starting from the $begin_at one Returns a items list containing $number items starting from the $begin_at one Parameters $number the number of items to retrieve $begin_at the number of the first to retrieve Returns FeedItem[]the items list containing $number items starting from the $begin_at one