Class

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

public
# set_title( string $value )

Sets the feed title

public
# set_date( Date $value )

Sets the feed data date

public
# set_desc( string $value )

Sets the feed description

public
# set_lang( string $value )

Sets the feed language

public
# set_host( string $value )

Sets the feed host

public
# set_auth_bit( integer $value )

Sets the feed auth bit, useful to check authorizations

public
# add_item( $item )
public
public
# get_date( )
public
public
public
public
# get_desc( )
public
# get_lang( )
public
# get_host( )
public FeedItem[]
# get_items( )

Returns the feed items

public
public FeedItem[]
# subitems( integer $number = 10, integer $begin_at = 0 )

Returns a items list containing $number items starting from the $begin_at one