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

Public Member Functions

 SimpleOptionTag ($attributes)
 setValue ($value)
 isValue ($compare)
 getDefault ()
 isPrivateContent ()

Detailed Description

Definition at line 881 of file tag.php.


Member Function Documentation

Accessor for starting value. Will be set to the option label if no value exists.

Returns:
string Parsed value. public

Reimplemented from SimpleWidget.

Definition at line 920 of file tag.php.

Here is the call graph for this function:

The content of options is not part of the page.

Returns:
boolean True. public

Reimplemented from SimpleTag.

Definition at line 932 of file tag.php.

isValue ( compare)

Test to see if a value matches the option.

Parameters:
string$compareValue to compare with.
Returns:
boolean True if possible match. public

Definition at line 906 of file tag.php.

Here is the call graph for this function:

setValue ( value)

Does nothing.

Parameters:
string$valueIgnored.
Returns:
boolean Not allowed. public

Reimplemented from SimpleWidget.

Definition at line 896 of file tag.php.

SimpleOptionTag ( attributes)

Stashes the attributes.

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