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

Public Member Functions

 SimpleByName ($name)
 getName ()
 isMatch ($widget)

Data Fields

 $_name

Detailed Description

Definition at line 22 of file selector.php.


Member Function Documentation

getName ( )

Definition at line 33 of file selector.php.

isMatch ( widget)

Compares with name attribute of widget.

Parameters:
SimpleWidget$widgetControl to compare. public

Definition at line 42 of file selector.php.

SimpleByName ( name)

Stashes the name for later comparison.

Parameters:
string$nameName attribute to match.

Definition at line 29 of file selector.php.


Field Documentation

$_name

Definition at line 23 of file selector.php.


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