Detailed Description
Definition at line 1153 of file tag.php.
Member Function Documentation
Converts the output to an appropriate format. This means that no values is false, a single value is just that value and only two or more are contained in an array.
- Parameters:
-
| array | $values | List of values of widgets. |
- Returns:
- string/array/boolean Expected format for a tag. private
Definition at line 1240 of file tag.php.
Converts false or string into array. The opposite of the coercian method.
- Parameters:
-
| string/array/boolean | $value A single item is converted to a one item list. False gives an empty list. |
- Returns:
- array List of values, possibly empty. private
Definition at line 1259 of file tag.php.
Tests to see if a possible value set is legal.
- Parameters:
-
| string/array/boolean | $values Either a single string, a hash or false for nothing set. |
- Returns:
- boolean False if trying to set a missing value. private
Definition at line 1220 of file tag.php.
Accessor for starting value that is active.
- Returns:
- string/array Widget values or false if none. public
Definition at line 1177 of file tag.php.
Accessor for current selected widget or false if none.
- Returns:
- string/array Widget values or false if none. public
Definition at line 1161 of file tag.php.
Accessor for current set values.
- Parameters:
-
| string/array/boolean | $values Either a single string, a hash or false for nothing set. |
- Returns:
- boolean True if all values can be set. public
Definition at line 1195 of file tag.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/lib/simpletestlib/tag.php