User Tools

Site Tools


stats:proc:createexam

This is an old revision of the document!


Create Exam

createExam(ident uid, ident id, string title, string date, string time, string location) {
  assume exists //accounts/account[uid]/admin;
 
  assume not exists //exams/exam[id];
 
  insert //exams
    <exam id=[id] title=[title] date=[date] time=[time] location=[location] >
      <tasks />
      <grades />
      <results />
    </exam>;
}
stats/proc/createexam.1317317202.txt.gz · Last modified: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki