User Tools

Site Tools


stats:proc:createexercise

Create Exercise

createExercise(ident uid, ident id, string lecture, string term) {
  assume exists /account[uid]/admin;
 
  assume not exists /exercise[id];
 
  insert / <exercise id=[id] lecture=[lecture] term=[term] open=[false] />
}
stats/proc/createexercise.txt · Last modified: 2013/07/10 12:41 (external edit)