Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Workshop 2.0 specification

From MoodleDocs

Please do not use this page.

Put your comments/question into Workshop 2.0 specification - request for review and comments forum thread. Thanks. --David Mudrak 08:39, 23 April 2009 (UTC)

The description of Workshop 1.9 $phase and $wtype

phase 0 - Inactive (Inactive)
phase 1 - Set Up Assignment (Set up)
phase 2 - Allow Student Submissions (Submissions)
phase 3 - Allow Student Submissions and Assessments (Both)
phase 4 - Allow Student Assessments (Assessments)
phase 5 - Show Final Grades
$wtype = 0; // 3 phases, no grading grades
if ($workshop->includeself or $workshop->ntassessments) $wtype = 1; // 3 phases with grading grades
if ($workshop->nsassessments) $wtype = 2; // 5 phases with grading grades