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

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)

Variable Documentation

Definition at line 33 of file comment_post.php.

Definition at line 34 of file comment_post.php.

if ($action!== 'add') $cmt = new stdClass

Definition at line 45 of file comment_post.php.

$comment = new comment($cmt)

Definition at line 52 of file comment_post.php.

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.

Definition at line 36 of file comment_post.php.

Definition at line 37 of file comment_post.php.

$cmt area = $area

Definition at line 49 of file comment_post.php.

$cmt cm = $cm

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.

$cmt courseid = $course->id

Definition at line 47 of file comment_post.php.

$cmt itemid = $itemid

Definition at line 50 of file comment_post.php.

 All Data Structures Namespaces Files Functions Variables Enumerations