|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | user |
Variables | |
| $id = required_param('id', PARAM_INT) | |
| $users = optional_param_array('userid', array(), PARAM_INT) | |
| $content = optional_param('content', '', PARAM_RAW) | |
| $state = optional_param('state', '', PARAM_ALPHA) | |
| $url = new moodle_url('/user/groupaddnote.php', array('id'=>$id)) | |
| if(!$course=$DB->get_record('course', array('id'=> $id))) | $context = get_context_instance(CONTEXT_COURSE, $id) |
| if(empty($CFG->enablenotes)) if(!empty($users)&&!empty($content)&&confirm_sesskey()) | $straddnote = get_string('groupaddnewnote', 'notes') |
| $state_names = note_get_state_names() | |
| Print headers. | |
| if(empty($users) and $post=data_submitted()) | $userlist = array() |
| foreach ($users as $k=> $v) | |
| $content = optional_param('content', '', PARAM_RAW) |
Definition at line 31 of file groupaddnote.php.
| if (!$course=$DB->get_record('course', array('id'=> $id))) $context = get_context_instance(CONTEXT_COURSE, $id) |
Definition at line 47 of file groupaddnote.php.
| $id = required_param('id', PARAM_INT) |
Definition at line 29 of file groupaddnote.php.
| $state = optional_param('state', '', PARAM_ALPHA) |
Definition at line 32 of file groupaddnote.php.
| $state_names = note_get_state_names() |
Print headers.
Definition at line 93 of file groupaddnote.php.
| if (empty($CFG->enablenotes)) if (!empty($users)&&!empty($content)&&confirm_sesskey()) $straddnote = get_string('groupaddnewnote', 'notes') |
Definition at line 77 of file groupaddnote.php.
Definition at line 34 of file groupaddnote.php.
| if (empty($users) and $post=data_submitted()) $userlist = array() |
Definition at line 104 of file groupaddnote.php.
| $users = optional_param_array('userid', array(), PARAM_INT) |
Definition at line 30 of file groupaddnote.php.
| foreach($users as $k=> $v) |
Definition at line 105 of file groupaddnote.php.