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

Public Member Functions

 SimpleCheckboxTag ($attributes)
 expectEndTag ()
 setValue ($value)
 getDefault ()

Detailed Description

Definition at line 999 of file tag.php.


Member Function Documentation

Tag contains no content.

Returns:
boolean False. public

Reimplemented from SimpleTag.

Definition at line 1018 of file tag.php.

Accessor for starting value. The default value is "on".

Returns:
string Parsed value. public

Reimplemented from SimpleWidget.

Definition at line 1050 of file tag.php.

Here is the call graph for this function:

setValue ( value)

The only allowed value in the one in the "value" attribute. The default for this attribute is "on". If this widget is set to true, then the usual value will be taken.

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

Reimplemented from SimpleWidget.

Definition at line 1031 of file tag.php.

Here is the call graph for this function:

SimpleCheckboxTag ( attributes)

Starts with attributes only.

Parameters:
hash$attributesAttribute names and string values.

Definition at line 1006 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