|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | moodlecore |
Enumerations | |
| enum | NO_DEBUG_DISPLAY |
| enum | NO_MOODLE_COOKIES |
Functions | |
| rss_error ($error='rsserror', $filename='rss.xml', $lifetime=0) | |
Variables | |
| if(empty($CFG->enablerssfeeds)) | $relativepath = get_file_argument() |
| if(!$relativepath) | $args = explode('/', trim($relativepath, '/')) |
| if(count($args)< 5) | $contextid = (int)$args[0] |
| $token = clean_param($args[1], PARAM_ALPHANUM) | |
| $componentname = clean_param($args[2], PARAM_FILE) | |
| $inttoken = intval($token) | |
| $pathname = null | |
| enum NO_DEBUG_DISPLAY |
| enum NO_MOODLE_COOKIES |
| rss_error | ( | $ | error = 'rsserror', |
| $ | filename = 'rss.xml', |
||
| $ | lifetime = 0 |
||
| ) |
| if (!$relativepath) $args = explode('/', trim($relativepath, '/')) |
| $componentname = clean_param($args[2], PARAM_FILE) |
| if (empty($CFG->enablerssfeeds)) $relativepath = get_file_argument() |
| $token = clean_param($args[1], PARAM_ALPHANUM) |