|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | course |
Functions | |
| compare_activities_by_time_desc ($a, $b) | |
| compare_activities_by_time_asc ($a, $b) | |
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $context = get_context_instance(CONTEXT_COURSE, $course->id) | |
| $lastlogin = time() - COURSE_MAX_RECENT_PERIOD | |
| if(!isguestuser() and!empty($USER-> lastcourseaccess[$COURSE->id])) | $param = new stdClass() |
| $param | user = 0 |
| $param | modid = 'all' |
| $param | group = 0 |
| $param | sortby = 'default' |
| $param | date = $lastlogin |
| $param | id = $COURSE->id |
| $mform = new recent_form() | |
| if($formdata=$mform->get_data()) | $userinfo = get_string('allparticipants') |
| $dateinfo = get_string('alldays') | |
| if(!empty($param->user)) | $strrecentactivity = get_string('recentactivity') |
| $modinfo = & get_fast_modinfo($course) | |
| $rawsections = array_slice(get_all_sections($course->id), 0, $course->numsections+1, true) | |
| $canviewhidden = has_capability('moodle/course:viewhiddensections', $context) | |
| foreach($rawsections as $section) if($param->modid=== 'all') else if(strpos($param-> modid, 'mod/')===0) else if(strpos($param-> modid, 'section/')===0) else if(is_numeric($param->modid)) if(is_null($modinfo->groups)) | $activities = array() |
| $index = 0 | |
| foreach($sections as $section) | $detail = true |
| compare_activities_by_time_asc | ( | $ | a, |
| $ | b | ||
| ) |
Definition at line 288 of file recent.php.
| compare_activities_by_time_desc | ( | $ | a, |
| $ | b | ||
| ) |
Definition at line 278 of file recent.php.
| foreach ($rawsections as $section) if ($param->modid=== 'all') else if (strpos($param->modid, 'mod/')===0) else if (strpos($param->modid, 'section/')===0) else if (is_numeric($param->modid)) if (is_null($modinfo->groups)) $activities = array() |
Definition at line 128 of file recent.php.
| $canviewhidden = has_capability('moodle/course:viewhiddensections', $context) |
Definition at line 95 of file recent.php.
Definition at line 42 of file recent.php.
| $dateinfo = get_string('alldays') |
Definition at line 66 of file recent.php.
Definition at line 182 of file recent.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 30 of file recent.php.
| $index = 0 |
Definition at line 129 of file recent.php.
| $lastlogin = time() - COURSE_MAX_RECENT_PERIOD |
Definition at line 44 of file recent.php.
| $mform = new recent_form() |
Definition at line 59 of file recent.php.
| $modinfo = & get_fast_modinfo($course) |
Definition at line 85 of file recent.php.
| if (!isguestuser() and!empty($USER->lastcourseaccess[$COURSE->id])) $param = new stdClass() |
Definition at line 51 of file recent.php.
| $rawsections = array_slice(get_all_sections($course->id), 0, $course->numsections+1, true) |
Definition at line 94 of file recent.php.
| if (!empty($param->user)) $strrecentactivity = get_string('recentactivity') |
Definition at line 75 of file recent.php.
| if ($formdata=$mform->get_data()) $userinfo = get_string('allparticipants') |
Definition at line 65 of file recent.php.
| string $LastModified Last modified date = $lastlogin |
Definition at line 56 of file recent.php.
| $param group = 0 |
Definition at line 54 of file recent.php.
Definition at line 57 of file recent.php.
| $param modid = 'all' |
Definition at line 53 of file recent.php.
Definition at line 55 of file recent.php.
| $param user = 0 |
Definition at line 52 of file recent.php.