Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/forum/post.php File Reference

Go to the source code of this file.

Namespaces

namespace  mod
 

Local Library of functions for module scorm.


Variables

 $reply = optional_param('reply', 0, PARAM_INT)
 $forum = optional_param('forum', 0, PARAM_INT)
 $edit = optional_param('edit', 0, PARAM_INT)
 $delete = optional_param('delete', 0, PARAM_INT)
 $prune = optional_param('prune', 0, PARAM_INT)
 $name = optional_param('name', '', PARAM_CLEAN)
 $confirm = optional_param('confirm', 0, PARAM_INT)
 $groupid = optional_param('groupid', null, PARAM_INT)
 $page_params = array('reply'=>$reply, 'forum'=>$forum, 'edit'=>$edit)
 $sitecontext = get_context_instance(CONTEXT_SYSTEM)
if(isguestuser()) if (!isset($forum->maxattachments))
 $mform_post = new mod_forum_post_form('post.php', array('course'=>$course, 'cm'=>$cm, 'coursecontext'=>$coursecontext, 'modcontext'=>$modcontext, 'forum'=>$forum, 'post'=>$post))
 $draftitemid = file_get_submitted_draft_itemid('attachments')
 $currenttext = file_prepare_draft_area($draftid_editor, $modcontext->id, 'mod_forum', 'post', empty($post->id) ? null : $post->id, array('subdirs'=>true), $post->message)

Variable Documentation

Definition at line 36 of file post.php.

$currenttext = file_prepare_draft_area($draftid_editor, $modcontext->id, 'mod_forum', 'post', empty($post->id) ? null : $post->id, array('subdirs'=>true), $post->message)

Definition at line 551 of file post.php.

Definition at line 33 of file post.php.

$draftitemid = file_get_submitted_draft_itemid('attachments')

Definition at line 512 of file post.php.

Definition at line 32 of file post.php.

Definition at line 31 of file post.php.

$groupid = optional_param('groupid', null, PARAM_INT)

Definition at line 37 of file post.php.

$mform_post = new mod_forum_post_form('post.php', array('course'=>$course, 'cm'=>$cm, 'coursecontext'=>$coursecontext, 'modcontext'=>$modcontext, 'forum'=>$forum, 'post'=>$post))

Definition at line 510 of file post.php.

Definition at line 35 of file post.php.

$page_params = array('reply'=>$reply, 'forum'=>$forum, 'edit'=>$edit)

Definition at line 50 of file post.php.

$prune = optional_param('prune', 0, PARAM_INT)

Definition at line 34 of file post.php.

$reply = optional_param('reply', 0, PARAM_INT)

Definition at line 30 of file post.php.

Definition at line 52 of file post.php.

if (isguestuser()) if(!isset($forum->maxattachments))

Definition at line 504 of file post.php.

 All Data Structures Namespaces Files Functions Variables Enumerations