Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/rss/file.php File Reference

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

Enumeration Type Documentation

Definition at line 31 of file file.php.

Definition at line 34 of file file.php.


Function Documentation

rss_error ( error = 'rsserror',
filename = 'rss.xml',
lifetime = 0 
)

Definition at line 184 of file file.php.

Here is the call graph for this function:


Variable Documentation

if (!$relativepath) $args = explode('/', trim($relativepath, '/'))

Definition at line 55 of file file.php.

$componentname = clean_param($args[2], PARAM_FILE)

Definition at line 62 of file file.php.

if (count($args)< 5) $contextid = (int)$args[0]

Definition at line 60 of file file.php.

$inttoken = intval($token)

Definition at line 67 of file file.php.

$pathname = null

Definition at line 158 of file file.php.

if (empty($CFG->enablerssfeeds)) $relativepath = get_file_argument()

Definition at line 48 of file file.php.

$token = clean_param($args[1], PARAM_ALPHANUM)

Definition at line 61 of file file.php.

 All Data Structures Namespaces Files Functions Variables Enumerations