Commit graph

5 commits

Author SHA1 Message Date
Mark Nelson 1d7c5b2c56 Updated the version and the Moodle version required to the 2.5 beta release 2013-04-12 17:33:23 +08:00
Mark Nelson 8b3954cea7 Updated the code responsible for preventing internal access to certain files 2013-04-10 17:18:00 +08:00
Mark Nelson 2b4bbbe820 Moved the rendering of the header form element for each customcert element to edit_form.php
The render_common_form_elements function was removed in the base class and it's contents put into the render_form_element function. These changes mean that some elements may not be required to override the render_form_element function, such as the studentname element, where this function was removed.
2013-02-26 17:22:52 +08:00
Mark Nelson b36c0b58dd Introduced the grade element 2013-02-22 16:15:32 +08:00
Mark Nelson 9d0eb727e5 Introduced customisable elements to the customcert
Elements are sub-plugins that have the same abilities as a core plugin, such as creating tables, capabilities and performing upgrades.

Currently elements can define -

* What additional form elements are rendered when adding the element to the customcert customisation page.
* How the data from the additional form elements is validated and saved.
* How the element is rendered on the PDF.
* How the element handles removing data when it is deleted.
2013-02-21 18:23:11 +08:00