PHP 클래스 SelectByName, simpletest

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

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

getName() 공개 메소드

Accessor for name.
public getName ( )

isMatch() 공개 메소드

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