Class

Feed

Package: content Author: Loic Rouchon <loic.rouchon@phpboost.com> Desc: This class could be used to export feeds Located at content/feed/Feed.class.php

Direct known subclasses

ATOM, RSS
Methods summary
public
# __construct( string $module_id, string $name = Feed::DEFAULT_FEED_NAME, integer $id_cat = 0 )
public
# load_data( FeedData $data )
public
# load_file( string $url )
public string
# export( mixed $template = false, integer $number = 10, integer $begin_at = 0 )
public string
# read( )
public
# cache( )
public boolean
# is_in_cache( )
public string
# get_cache_file_name( )
public static
# clear_cache( mixed $module_id = false )
public static string
# get_parsed( string $module_id, string $name = Feed::DEFAULT_FEED_NAME, integer $idcat = 0, mixed $template = false, integer $number = 10, integer $begin_at = 0 )
public static string
# get_feed_menu( string $module_id, mixed $id_cat = 0 )
Constants summary
string DEFAULT_FEED_NAME 'master'
#
Properties summary
protected string $tpl null
#

The feed Template to use