| 1 | <?php |
||
| 6 | class CheckboxField extends NativeGenerator implements iField |
||
| 7 | { |
||
| 8 | private $properties; |
||
| 9 | private $name; |
||
| 10 | private $value; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * CheckboxField constructor. Pass params inside model. |
||
| 14 | * @param array $properties |
||
| 15 | * @param string $name |
||
| 16 | * @param string|null $value |
||
| 17 | */ |
||
| 18 | public function __construct($properties, $name, $value = null) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Build <input type="checkbox" checked {$properties} /> response |
||
| 27 | * {@inheritDoc} |
||
| 28 | * @see \Ffcms\Core\Helper\HTML\Form\iField::make() |
||
| 29 | */ |
||
| 30 | public function make() |
||
| 51 | } |