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 revisionPrevious revision
stats:proc:changeattributes_exam [2011/09/29 19:22] – Patrick Michelstats:proc:changeattributes_exam [2013/07/10 12:32] (current) – external edit 127.0.0.1
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: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki