stats:proc:addparticipant
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:addparticipant [2011/09/29 00:26] – Patrick Michel | stats:proc:addparticipant [2013/07/10 12:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | addParticipant(ident id, ident studentId) { | + | addParticipant(ident uid, ident id, ident studentId) { |
| - | assume exists //exams/exam[id]; # implicitly true in OO implementations | + | assume exists /account[uid]/student && / |
| - | assume | + | || exists / |
| + | |||
| + | assume exists | ||
| + | assume | ||
| | | ||
| - | assume not exists | + | assume not exists / |
| | | ||
| - | insert | + | insert / |
| - | } # roles: examiner[id] | + | } |
| </ | </ | ||
stats/proc/addparticipant.1317248787.txt.gz · Last modified: by Patrick Michel
