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

Public Member Functions

 MoodleQuickForm_selectyesno ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
 onQuickFormEvent ($event, $arg, &$caller)

Detailed Description

HTML class for a simple yes/ no drop down element

Author:
Jamie Pratt public

Definition at line 11 of file selectyesno.php.


Member Function Documentation

MoodleQuickForm_selectyesno ( elementName = null,
elementLabel = null,
attributes = null,
options = null 
)

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 24 of file selectyesno.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 41 of file selectyesno.php.

Here is the call graph for this function:


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