|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| if(empty($CFG->usecomments)) | $contextid = optional_param('contextid', SYSCONTEXTID, PARAM_INT) |
| $action = optional_param('action', '', PARAM_ALPHA) | |
| $area = optional_param('area', '', PARAM_AREA) | |
| $content = optional_param('content', '', PARAM_RAW) | |
| $itemid = optional_param('itemid', '', PARAM_INT) | |
| $returnurl = optional_param('returnurl', '/', PARAM_URL) | |
| $component = optional_param('component', '', PARAM_COMPONENT) | |
| if($action!== 'add') | $cmt = new stdClass |
| $cmt | contextid = $contextid |
| $cmt | courseid = $course->id |
| $cmt | cm = $cm |
| $cmt | area = $area |
| $cmt | itemid = $itemid |
| $cmt | component = $component |
| $comment = new comment($cmt) | |
| $action = optional_param('action', '', PARAM_ALPHA) |
Definition at line 33 of file comment_post.php.
| $area = optional_param('area', '', PARAM_AREA) |
Definition at line 34 of file comment_post.php.
| if ($action!== 'add') $cmt = new stdClass |
Definition at line 45 of file comment_post.php.
Definition at line 52 of file comment_post.php.
| $component = optional_param('component', '', PARAM_COMPONENT) |
Definition at line 38 of file comment_post.php.
| $content = optional_param('content', '', PARAM_RAW) |
Definition at line 35 of file comment_post.php.
| if (empty($CFG->usecomments)) $contextid = optional_param('contextid', SYSCONTEXTID, PARAM_INT) |
Definition at line 27 of file comment_post.php.
| $itemid = optional_param('itemid', '', PARAM_INT) |
Definition at line 36 of file comment_post.php.
| $returnurl = optional_param('returnurl', '/', PARAM_URL) |
Definition at line 37 of file comment_post.php.
Definition at line 49 of file comment_post.php.
Definition at line 48 of file comment_post.php.
Definition at line 51 of file comment_post.php.
Definition at line 46 of file comment_post.php.
Definition at line 47 of file comment_post.php.
Definition at line 50 of file comment_post.php.