User Tools

Site Tools


stats:proc:changeattributes_exam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
stats:proc:changeattributes_exam [2011/09/29 19:22]
Patrick Michel
stats:proc:changeattributes_exam [2013/07/10 12:32] (current)
Line 3: Line 3:
 <code xcend> <code xcend>
 changeAttributes(ident uid, ident id, string title, string date, string time, string location) { changeAttributes(ident uid, ident id, string title, string date, string time, string location) {
-  assume exists ​//accounts/​account[uid]/​admin || exists ​//accounts/​account[uid]/​examiner[id];​+  assume exists /​account[uid]/​admin || exists /​account[uid]/​examiner[id];​
  
-  assume exists ​//exams/exam[id]; # implicitly true in OO implementations+  assume exists /exam[id]; # implicitly true in OO implementations
    
-  update ​//exams/​exam[id]/​title title; +  update /​exam[id]/​title title; 
-  update ​//exams/​exam[id]/​date date; +  update /​exam[id]/​date date; 
-  update ​//exams/​exam[id]/​time time; +  update /​exam[id]/​time time; 
-  update ​//exams/​exam[id]/​location location;+  update /​exam[id]/​location location;
 } }
 </​code>​ </​code>​
  
stats/proc/changeattributes_exam.1317316940.txt.gz · Last modified: 2011/09/29 19:22 by Patrick Michel