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

Go to the source code of this file.

Namespaces

namespace  calendar

Variables

if(empty($CFG->
enablecalendarexport)) 
$courseid = optional_param('course', SITEID, PARAM_INT)
 $action = optional_param('action', '', PARAM_ALPHA)
 $day = optional_param('cal_d', 0, PARAM_INT)
 $mon = optional_param('cal_m', 0, PARAM_INT)
 $yr = optional_param('cal_y', 0, PARAM_INT)
 $generateurl = optional_param('generateurl', 0, PARAM_BOOL)
 $url = new moodle_url('/calendar/export.php')
 $calendar = new calendar_information($day, $mon, $yr)
 $pagetitle = get_string('export', 'calendar')
 $now = usergetdate(time())
if($issite) $link = new moodle_url(CALENDAR_URL.'view.php', array('view'=>'upcoming', 'course'=>$calendar->courseid))
 $renderer = $PAGE->get_renderer('core_calendar')
switch($actionif (!empty($generateurl))

Variable Documentation

Definition at line 58 of file export.php.

$calendar = new calendar_information($day, $mon, $yr)

Definition at line 93 of file export.php.

if (empty($CFG->enablecalendarexport)) $courseid = optional_param('course', SITEID, PARAM_INT)

Definition at line 57 of file export.php.

$day = optional_param('cal_d', 0, PARAM_INT)

Definition at line 59 of file export.php.

$generateurl = optional_param('generateurl', 0, PARAM_BOOL)

Definition at line 62 of file export.php.

if ($issite) $link = new moodle_url(CALENDAR_URL.'view.php', array('view'=>'upcoming', 'course'=>$calendar->courseid))

Definition at line 103 of file export.php.

$mon = optional_param('cal_m', 0, PARAM_INT)

Definition at line 60 of file export.php.

$now = usergetdate(time())

Definition at line 97 of file export.php.

$pagetitle = get_string('export', 'calendar')

Definition at line 96 of file export.php.

$renderer = $PAGE->get_renderer('core_calendar')

Definition at line 112 of file export.php.

$url = new moodle_url('/calendar/export.php')

Definition at line 75 of file export.php.

$yr = optional_param('cal_y', 0, PARAM_INT)

Definition at line 61 of file export.php.

switch ($action) if(!empty($generateurl))

Definition at line 140 of file export.php.

 All Data Structures Namespaces Files Functions Variables Enumerations