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

Public Member Functions

 setValue ($value)
 _valueIsPossible ($value)
 getValue ()
 getDefault ()

Detailed Description

Definition at line 1276 of file tag.php.


Member Function Documentation

_valueIsPossible ( value)

Tests to see if a value is allowed.

Parameters:
stringAttempted value.
Returns:
boolean True if a valid value. private

Definition at line 1306 of file tag.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Accessor for starting value that is active.

Returns:
string/boolean Value of first checked widget or false if none. public

Definition at line 1339 of file tag.php.

Here is the call graph for this function:

getValue ( )

Accessor for current selected widget or false if none.

Returns:
string/boolean Value attribute or content of opton. public

Definition at line 1323 of file tag.php.

Here is the call graph for this function:

setValue ( value)

Each tag is tried in turn until one is successfully set. The others will be unchecked if successful.

Parameters:
string$valueNew value.
Returns:
boolean True if any allowed. public

Definition at line 1286 of file tag.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