From 87b1e9d7f0fe5acf86a774caf09817a3b7732c53 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 9 Apr 2013 12:04:15 +0800 Subject: [PATCH] Edited PHPDocs and comments --- edit_form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/edit_form.php b/edit_form.php index 7a2cd32..6a08511 100644 --- a/edit_form.php +++ b/edit_form.php @@ -26,7 +26,7 @@ require_once($CFG->dirroot . '/mod/customcert/colourpicker.php'); MoodleQuickForm::registerElementType('customcert_colourpicker', $CFG->dirroot . '/mod/customcert/colourpicker.php', 'MoodleQuickForm_customcert_colourpicker'); /** - * Instance add/edit form. + * The form for handling the layout of the customcert instance. * * @package mod * @subpackage customcert @@ -102,7 +102,7 @@ class mod_customcert_edit_form extends moodleform { } /** - * Fill in the current page data for this certificate. + * Fill in the current page data for this customcert. */ function definition_after_data() { global $DB; @@ -117,7 +117,7 @@ class mod_customcert_edit_form extends moodleform { // Check that we are updating a current customcert. if ($this->id) { - // Get the pages for this certificate. + // Get the pages for this customcert. if ($pages = $DB->get_records('customcert_pages', array('customcertid' => $this->id))) { // Loop through the pages. foreach ($pages as $p) {