| 1 | <?php |
||
| 14 | class CheckBox extends FieldAbstract implements ArrayValueInterface |
||
| 15 | { |
||
| 16 | |||
| 17 | use CanRenderInlineTrait; |
||
| 18 | use HasOptionsTrait; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * We end up ignoring this during rendering Checkboxes, see the renderer for info |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | 6 | public function getTag() |
|
| 29 | |||
| 30 | 8 | public function init() |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param $key |
||
| 39 | * @return $this |
||
| 40 | */ |
||
| 41 | 2 | public function checkValue($key) |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param $key |
||
| 51 | * @return $this |
||
| 52 | */ |
||
| 53 | 1 | public function uncheckValue($key) |
|
| 63 | } |