Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
rsslib.php File Reference

This file adds support to rss feeds generation. More...

Functions

 forum_rss_delete_file ($forum)
 Given a forum object, deletes all cached RSS files associated with it. More...
 
 forum_rss_feed_contents ($forum, $sql, $params, $context)
 This function return the XML rss contents about the forum It returns false if something is wrong. More...
 
 forum_rss_feed_discussions_sql ($forum, $cm, $newsince=0)
 Generates the SQL query used to get the Discussion details from the forum table of the database. More...
 
 forum_rss_feed_posts_sql ($forum, $cm, $newsince=0)
 Generates the SQL query used to get the Post details from the forum table of the database. More...
 
 forum_rss_get_feed ($context, $args)
 Returns the path to the cached rss feed contents. More...
 
 forum_rss_get_group_sql ($cm, $groupmode, $currentgroup, $modcontext=null)
 Retrieve the correct SQL snippet for group-only forums. More...
 
 forum_rss_get_sql ($forum, $cm, $time=0)
 Determines which type of SQL query is required, one for posts or one for discussions, and returns the appropriate query. More...
 
 forum_rss_newstuff ($forum, $cm, $time)
 If there is new stuff in the forum since $time this returns true Otherwise it returns false. More...
 

Detailed Description

This file adds support to rss feeds generation.