Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| DateTimeLocal | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * Pop PHP Framework (https://www.popphp.org/) |
| 4 | * |
| 5 | * @link https://github.com/popphp/popphp-framework |
| 6 | * @author Nick Sagona, III <dev@noladev.com> |
| 7 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 8 | * @license https://www.popphp.org/license New BSD License |
| 9 | */ |
| 10 | |
| 11 | /** |
| 12 | * @namespace |
| 13 | */ |
| 14 | namespace Pop\Form\Element\Input; |
| 15 | |
| 16 | use Pop\Form\Element; |
| 17 | |
| 18 | /** |
| 19 | * Form datetime-local element class |
| 20 | * |
| 21 | * @category Pop |
| 22 | * @package Pop\Form |
| 23 | * @author Nick Sagona, III <dev@noladev.com> |
| 24 | * @copyright Copyright (c) 2009-2025 NOLA Interactive, LLC. |
| 25 | * @license https://www.popphp.org/license New BSD License |
| 26 | * @version 4.2.2 |
| 27 | */ |
| 28 | |
| 29 | class DateTimeLocal extends Element\Input |
| 30 | { |
| 31 | |
| 32 | /** |
| 33 | * Constructor |
| 34 | * |
| 35 | * Instantiate the email input form element |
| 36 | * |
| 37 | * @param string $name |
| 38 | * @param ?string $value |
| 39 | * @param ?string $indent |
| 40 | */ |
| 41 | public function __construct(string $name, ?string $value = null, ?string $indent = null) |
| 42 | { |
| 43 | parent::__construct($name, 'datetime-local', $value, $indent); |
| 44 | } |
| 45 | |
| 46 | } |