Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/assignment/type/online/file.php File Reference

Go to the source code of this file.

Variables

 $id = required_param('id', PARAM_INT)
 $userid = required_param('userid', PARAM_INT)
 $context = get_context_instance(CONTEXT_MODULE, $cm->id)
if(($USER->id!=$user->id)&&!has_capability('mod/assignment:grade',
$context)) if($assignment->
assignmenttype!= 'online') 
$assignmentinstance = new assignment_online($cm->id, $assignment, $cm, $course)

Variable Documentation

if (($USER->id!=$user->id)&&!has_capability('mod/assignment:grade', $context)) if ($assignment->assignmenttype!= 'online') $assignmentinstance = new assignment_online($cm->id, $assignment, $cm, $course)

Definition at line 39 of file file.php.

Definition at line 30 of file file.php.

Definition at line 7 of file file.php.

Definition at line 8 of file file.php.

 All Data Structures Namespaces Files Functions Variables Enumerations