Moodle  2.2.1
http://www.collinsharper.com
SimpleByLabelOrName Class Reference

Public Member Functions

 SimpleByLabelOrName ($label)
 isMatch ($widget)

Data Fields

 $_label

Detailed Description

Definition at line 111 of file selector.php.


Member Function Documentation

isMatch ( widget)

Comparison. Compares visible text of widget or related label or name.

Parameters:
SimpleWidget$widgetControl to compare. public

Definition at line 128 of file selector.php.

SimpleByLabelOrName ( label)

Stashes the name/label for later comparison.

Parameters:
string$labelVisible text to match.

Definition at line 118 of file selector.php.


Field Documentation

$_label

Definition at line 112 of file selector.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations