[vmchecker-dev] view-all-grades GUI needed

Lucian Adrian Grijincu lucian.grijincu at gmail.com
Sat Mar 27 12:20:55 EET 2010


On Sat, Mar 27, 2010 at 12:48 AM, Lucian Adrian Grijincu
<lucian.grijincu at gmail.com> wrote:
> 1) getAllGrades(courseId):
> returns an array like this:
>  [
>     'user1': [ 'ass1':10, 'ass2' : 'copied', 'ass3' : 'ok', 'ass4': '-'],
>     'user2': [ 'ass1':ok, 'ass2' : '-', 'ass3' : '10', 'ass4': 3.1]
>  ]
>
> Each user array must have elements for all valid assignment id's (this
> will be enforced by the service)
> We need to store them in an array to preserve order.

On second though, I think this is better

 [
    'lucian.grijincu':      [ '10', 'copied', 'ok', '-'],
    'claudiu.gheorghe': [ 'ok', '-', '10', '3.1'],
 ]

I don't like to duplicate assignment names. You can already find the
assignment names from the getAssignments(courseId) web service.

-- 
 .
..: Lucian


More information about the vmchecker-dev mailing list