content
Packages
Interfaces
Classes
Files

Class: RSS

Source Location: /content/syndication/rss.class.php [line 40]

Class Overview

Feed
   |
   --RSS
This class could load a feed by its url or by a FeedData element and export it to the RSS format

Author(s):



Class Details

This class could load a feed by its url or by a FeedData element and export it to the RSS format

Tags:

[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Methods

constructor RSS [line 49]

RSS RSS( string $module_id, [string $feed_name = DEFAULT_FEED_NAME], [int $id_cat = 0])
Builds a new RSS object

Parameters:

string   $module_id   its module_id
string   $feed_name   the feeds name / type. default is DEFAULT_FEED_NAME
int   $id_cat   the feed category id
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method load_file [line 59]

void load_file( string $url)
Loads a feed by its url
Overrides Feed::load_file() (Loads a feed by its url)

Parameters:

string   $url   the feed url
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Inherited Methods

Class: Feed

Feed::Feed()
Builds a new feed object
Feed::cache()
Send the feed data in the cache
Feed::clear_cache()
Clear the cache of the specified module_id.
Feed::export()
Exports the feed as a string parsed by the <$tpl> template
Feed::get_cache_file_name()
Returns the feed data cache filename
Feed::get_feed_menu()
Generates the code which shows all the feeds formats.
Feed::get_parsed()
Export a feed
Feed::is_in_cache()
Returns true if the feed data are in the cache
Feed::load_data()
Loads a FeedData element
Feed::load_file()
Loads a feed by its url
Feed::read()
Loads the feed data in cache and export it
Feed::update_cache()
Update the cache of the $module_id, $name, $idcat feed with $data


Documentation generated on Tue, 28 Jul 2009 22:43:41 +0200 by phpDocumentor 1.4.1