MDL-30998 added missing phpdocs

This commit is contained in:
Marina Glancy 2013-01-07 17:27:01 +11:00
parent d22e9e32e4
commit 5dc1ca87b1
11 changed files with 18 additions and 1 deletions

View File

@ -41,6 +41,7 @@ defined('MOODLE_INTERNAL') || die();
* to overwrite functions responsible for loading and saving of the
* definition to include additional data stored.
*
* @package core_grading
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @category grading
@ -390,7 +391,8 @@ abstract class gradingform_controller {
'status1' => gradingform_instance::INSTANCE_STATUS_ACTIVE,
'status2' => gradingform_instance::INSTANCE_STATUS_NEEDUPDATE);
$select = 'definitionid=:definitionid and itemid=:itemid and (status=:status1 or status=:status2)';
if (false /* TODO MDL-31237 $manager->allow_multiple_raters() */) {
if (false) {
// TODO MDL-31237 should be: if ($manager->allow_multiple_raters())
$select .= ' and raterid=:raterid';
$params['raterid'] = $raterid;
}
@ -664,6 +666,7 @@ abstract class gradingform_controller {
* included in the grading form, so this class must implement functions for rendering
* and validation of this form element. See {@link MoodleQuickForm_grading}
*
* @package core_grading
* @copyright 2011 Marina Glancy
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @category grading

View File

@ -27,6 +27,7 @@ defined('MOODLE_INTERNAL') || die();
/**
* Defines rubric backup structures
*
* @package gradingform_rubric
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -27,6 +27,7 @@ defined('MOODLE_INTERNAL') || die();
/**
* Restores the rubric specific data from grading.xml file
*
* @package gradingform_rubric
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -31,6 +31,7 @@ MoodleQuickForm::registerElementType('rubriceditor', $CFG->dirroot.'/grade/gradi
/**
* Defines the rubric edit form
*
* @package gradingform_rubric
* @copyright 2011 Marina Glancy <marina@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -29,6 +29,7 @@ require_once($CFG->dirroot.'/grade/grading/form/lib.php');
/**
* This controller encapsulates the rubric grading logic
*
* @package gradingform_rubric
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@ -660,6 +661,7 @@ class gradingform_rubric_controller extends gradingform_controller {
*
* Stores information and performs actions like update, copy, validate, submit, etc.
*
* @package gradingform_rubric
* @copyright 2011 Marina Glancy
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -27,6 +27,7 @@ defined('MOODLE_INTERNAL') || die();
/**
* Grading method plugin renderer
*
* @package gradingform_rubric
* @copyright 2011 Marina Glancy
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -37,6 +37,7 @@ require_once("HTML/QuickForm/input.php");
* If Javascript is disabled when one of those special buttons is pressed, the form
* element is not validated and, instead of submitting the form, we process button presses.
*
* @package gradingform_rubric
* @copyright 2011 Marina Glancy
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -85,6 +85,7 @@ function get_grading_manager($context_or_areaid = null, $component = null, $area
* It is also possible to change context, component and area of an existing
* manager. Such pattern is used when copying form definitions, for example.
*
* @package core_grading
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @category grading

View File

@ -29,6 +29,7 @@ require_once($CFG->dirroot.'/lib/formslib.php');
/**
* Allows to search for a specific shared template
*
* @package core_grading
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

View File

@ -27,6 +27,7 @@ defined('MOODLE_INTERNAL') || die();
/**
* Standard HTML output renderer for core_grading subsystem
*
* @package core_grading
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @category grading

View File

@ -32,6 +32,8 @@ require_once($CFG->dirroot . '/grade/grading/lib.php'); // Include the code to t
/**
* Makes protected method accessible for testing purposes
*
* @package core_grading
* @category phpunit
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
@ -42,6 +44,8 @@ class testable_grading_manager extends grading_manager {
/**
* Test cases for the grading manager API
*
* @package core_grading
* @category phpunit
* @copyright 2011 David Mudrak <david@moodle.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/