|
Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
| glossary_rss_delete_file ($glossary) | |
| Given a glossary object, deletes all cached RSS files associated with it. | |
| glossary_rss_get_feed ($context, $args) | |
| This file adds support to rss feeds generation. | |
| glossary_rss_get_sql ($glossary, $time=0) | |
| The appropriate SQL query for the glossary items to go into the RSS feed. | |
| glossary_rss_newstuff ($glossary, $time) | |
| If there is new stuff in since $time this returns true Otherwise it returns false. | |
| glossary_rss_delete_file | ( | $glossary | ) |
Given a glossary object, deletes all cached RSS files associated with it.
| stdClass | $glossary |
| glossary_rss_get_feed | ( | $context, | |
| $args ) |
This file adds support to rss feeds generation.
| stdClass | $context | the context |
| array | $args | the arguments received in the url |
| string | the full path to the cached RSS feed directory. Null if there is a problem. |
| glossary_rss_get_sql | ( | $glossary, | |
| $time = 0 ) |
The appropriate SQL query for the glossary items to go into the RSS feed.
| stdClass | $glossary | the glossary object |
| int | $time | check for items since this epoch timestamp |
| string | the SQL query to be used to get the entried from the glossary table of the database |
| glossary_rss_newstuff | ( | $glossary, | |
| $time ) |
If there is new stuff in since $time this returns true Otherwise it returns false.
| stdClass | $glossary | the glossary activity object |
| int | $time | epoch timestamp to compare new items against, 0 for everyting |
| bool | true if there are new items |