Go to the source code of this file.
Variables |
| | $courseid = optional_param('course', SITEID, PARAM_INT) |
| | retrieve parameters
|
| | $userid = optional_param('user', 0, PARAM_INT) |
| | $filtertype = optional_param('filtertype', '', PARAM_ALPHA) |
| | $filterselect = optional_param('filterselect', 0, PARAM_INT) |
| | $url = new moodle_url('/notes/index.php') |
| switch($filtertype) if(empty($courseid)) | $course = $DB->get_record('course', array('id'=>$courseid), '*', MUST_EXIST) |
| | tabs compatibility
|
| | $strnotes = get_string('notes', 'notes') |
| | output HTML
|
| | $strcoursenotes = get_string('coursenotes', 'notes') |
| | $strpersonalnotes = get_string('personalnotes', 'notes') |
| | $straddnewnote = get_string('addnewnote', 'notes') |
Variable Documentation
tabs compatibility
locate course information
Definition at line 42 of file index.php.
retrieve parameters
file index.php index page to view notes. if a course id is specified then the entries from that course are shown if a user id is specified only notes related to that user are shown
Definition at line 13 of file index.php.
| $straddnewnote = get_string('addnewnote', 'notes') |
| $strcoursenotes = get_string('coursenotes', 'notes') |
| $strpersonalnotes = get_string('personalnotes', 'notes') |