|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($name, $choices, $selected=null, $enabled=null, $message= '%s') | |
| test ($html) | |
| customMessage ($html) | |
Protected Attributes | |
| $name | |
| $choices | |
| $selected | |
| $enabled | |
An Expectation that looks to see whether some HMTL contains a tag with an array of attributes. All attributes must be present and their values must match the expected values. A third parameter can be used to specify attribute=>value pairs which must not be present in a positive match.
Definition at line 366 of file simpletestlib.php.
| __construct | ( | $ | name, |
| $ | choices, | ||
| $ | selected = null, |
||
| $ | enabled = null, |
||
| $ | message = '%s' |
||
| ) |
Definition at line 384 of file simpletestlib.php.
| customMessage | ( | $ | html | ) |
Definition at line 440 of file simpletestlib.php.
| test | ( | $ | compare | ) |
Tests the expectation. True if correct.
| mixed | $compare | Comparison value. |
Reimplemented from SimpleExpectation.
Definition at line 392 of file simpletestlib.php.

$choices [protected] |
Definition at line 374 of file simpletestlib.php.
$enabled [protected] |
Definition at line 382 of file simpletestlib.php.
$name [protected] |
Definition at line 370 of file simpletestlib.php.
$selected [protected] |
Definition at line 378 of file simpletestlib.php.