]> git.mjollnir.org Git - moodle.git/commit
Edit grading form refactoring
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:43:02 +0000 (17:43 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:43:02 +0000 (17:43 +0000)
commita8389d652b2e0de3fdfad9069801000a2685d976
treeefb513e88504cda79ad81b7fa46be8423cbc60fd
parentf6cd09e042cfea882a65ec6f073f538e4ab47b9d
Edit grading form refactoring

The previous desing was too "base-class oriented". I have realized that
strategies have to deal with loading and saving dimension definitions in
their own way. Getting rid of all db<->form field mappings as it would
work for very simple strategies only.
mod/workshop/editgradingform.php
mod/workshop/grading/accumulative/gradingform.php
mod/workshop/grading/accumulative/simpletest/teststrategy.php
mod/workshop/grading/accumulative/strategy.php
mod/workshop/grading/gradingform.php
mod/workshop/grading/strategy.php
mod/workshop/submission.php