PHP Class SelectById, simpletest

Searches dy id attribute.
Inheritance: implements SelectorInterface
Afficher le fichier Open project: simpletest/simpletest

Méthodes publiques

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

Method Details

__construct() public méthode

Stashes the name for later comparison.
public __construct ( string $id )
$id string ID atribute to match.

isMatch() public méthode

Comparison. Compares id attribute of widget.
public isMatch ( SimpleWidget $widget )
$widget SimpleWidget Control to compare.