| 1 | <?php |
||
| 10 | class Select extends AbstractElement implements InputInterface |
||
| 11 | { |
||
| 12 | const SELECTED = './/option[@selected]'; |
||
| 13 | const VALUE = './/option[@value = "%s" or (not(@value) and contains(normalize-space(), "%s"))]'; |
||
| 14 | |||
| 15 | 1 | public function unselectAll() |
|
| 21 | /** |
||
| 22 | * @param string $value |
||
| 23 | */ |
||
| 24 | 1 | public function setValue($value) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 1 | public function getValue() |
|
| 52 | } |
||
| 53 |