PHP 클래스 SelectById, simpletest

Searches dy id attribute.
상속: implements SelectorInterface
파일 보기 프로젝트 열기: simpletest/simpletest

공개 메소드들

메소드 설명
__construct ( string $id ) Stashes the name for later comparison.
isMatch ( SimpleWidget $widget ) Comparison. Compares id attribute of widget.

메소드 상세

__construct() 공개 메소드

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

isMatch() 공개 메소드

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