Saving a form as a public template
authorDavid Mudrak <david@moodle.com>
Tue, 18 Oct 2011 23:17:43 +0000 (01:17 +0200)
committerDavid Mudrak <david@moodle.com>
Tue, 18 Oct 2011 23:17:43 +0000 (01:17 +0200)
commitfde33804438fb1ca5f0176b179708aa42e41f01c
tree7b14b0fe00ee61dc8c0d9d854b74c0ffc07fe875
parent71bd9d206679813001f4b6ed3ee6d542941e8067
Saving a form as a public template

There is a new API method get_definition_copy() that is expected to
return the definition structure as if the form was written from scratch
via the editor. Such a prepared structure is passed to
a controller's update_definition() method in the new target area.

The same mechanism will be used for copying definitions from a shared
area to a normal gradable area.
grade/grading/form/lib.php
grade/grading/form/rubric/lib.php
grade/grading/lib.php
grade/grading/manage.php
grade/grading/renderer.php
grade/grading/yui/manage/manage.js [new file with mode: 0644]
lang/en/grading.php
pix/b/bookmark-new.png [new file with mode: 0644]
pix/b/document-edit.png [new file with mode: 0644]
theme/standard/style/grade.css