User Tools

Site Tools


stats:proc:createexam

This is an old revision of the document!


Create Exam

createExam(ident id, string title, string date, string time, string location) {
  assume not exists //exams/exam[id];
 
  insert //exams
    <exam id=[id] title=[title] date=[date] time=[time] location=[location] >
      <tasks />
      <grades />
      <results />
    </exam>;
} # roles: admin
stats/proc/createexam.1317289745.txt.gz · Last modified: 2011/09/29 11:49 by Patrick Michel