PHP Class SelectByName, simpletest

Searches by name attribute.
Inheritance: implements SelectorInterface
Afficher le fichier Open project: simpletest/simpletest

Méthodes publiques

Méthode Description
__construct ( string $name ) Stashes the name for later comparison.
getName ( ) Accessor for name.
isMatch ( SimpleWidget $widget ) Compares with name attribute of widget.

Method Details

__construct() public méthode

Stashes the name for later comparison.
public __construct ( string $name )
$name string Name attribute to match.

getName() public méthode

Accessor for name.
public getName ( )

isMatch() public méthode

Compares with name attribute of widget.
public isMatch ( SimpleWidget $widget )
$widget SimpleWidget Control to compare.