Managed to remove static calls from the core gradebook classes without removing suppo...
authornicolasconnault <nicolasconnault>
Tue, 13 Nov 2007 09:08:43 +0000 (09:08 +0000)
committernicolasconnault <nicolasconnault>
Tue, 13 Nov 2007 09:08:43 +0000 (09:08 +0000)
commit795bee3460335511168b44f11444a275f42dbdcb
treef082215e8848f526b7ed29326e641977ccb6c579
parent9e47906cb5139199d1b2b1eb6b021f9ee3426ba3
Managed to remove static calls from the core gradebook classes without removing support for such calls in gradebook interface code. I used a singleton pattern for this (get_instance in grade_object).
lib/grade/grade_category.php
lib/grade/grade_item.php
lib/grade/grade_object.php
lib/grade/simpletest/testgradecategory.php
lib/simpletest/fixtures/gradetest.php