메소드 | 설명 | |
---|---|---|
__construct ( string $name ) | Stashes the name for later comparison. | |
getName ( ) | Accessor for name. | |
isMatch ( SimpleWidget $widget ) | Compares with name attribute of widget. |
public __construct ( string $name ) | ||
$name | string | Name attribute to match. |
public isMatch ( SimpleWidget $widget ) | ||
$widget | SimpleWidget | Control to compare. |