Moodle  2.2.1
http://www.collinsharper.com
MoodleQuickForm_modgrade Class Reference
Inheritance diagram for MoodleQuickForm_modgrade:
Collaboration diagram for MoodleQuickForm_modgrade:

Public Member Functions

 MoodleQuickForm_modgrade ($elementName=null, $elementLabel=null, $attributes=null, $hidenograde=false)
 onQuickFormEvent ($event, $arg, &$caller)

Data Fields

 $_hidenograde = false

Detailed Description

HTML class for a drop down element to select the grade for an activity, used in mod update form

Author:
Jamie Pratt public

Definition at line 12 of file modgrade.php.


Member Function Documentation

MoodleQuickForm_modgrade ( elementName = null,
elementLabel = null,
attributes = null,
hidenograde = false 
)

Class constructor

Parameters:
stringSelect name attribute
mixedLabel(s) for the select
mixedEither a typical HTML attribute string or an associative array
mixed$optionsignored public
Returns:
void

Definition at line 26 of file modgrade.php.

Here is the call graph for this function:

onQuickFormEvent ( event,
arg,
&$  caller 
)

Called by HTML_QuickForm whenever form event is made on this element

Parameters:
string$eventName of event
mixed$argevent arguments
object$callercalling object
Since:
1.0 public
Returns:
mixed

Reimplemented from HTML_QuickForm_select.

Definition at line 44 of file modgrade.php.

Here is the call graph for this function:


Field Documentation

$_hidenograde = false

Definition at line 14 of file modgrade.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations