Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 8 |
|
0.00% |
0 / 6 |
CRAP | |
0.00% |
0 / 1 |
PFStartDateInput | |
0.00% |
0 / 8 |
|
0.00% |
0 / 6 |
42 | |
0.00% |
0 / 1 |
getName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getDefaultPropTypes | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOtherPropTypesHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getDefaultCargoTypes | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |||
getOtherCargoTypesHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getInputClass | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | /** |
3 | * @file |
4 | * @ingroup PF |
5 | */ |
6 | |
7 | /** |
8 | * @ingroup PFFormInput |
9 | */ |
10 | class PFStartDateInput extends PFDateInput { |
11 | |
12 | public static function getName(): string { |
13 | return 'start date'; |
14 | } |
15 | |
16 | public static function getDefaultPropTypes() { |
17 | return []; |
18 | } |
19 | |
20 | public static function getOtherPropTypesHandled() { |
21 | return [ '_dat' ]; |
22 | } |
23 | |
24 | public static function getDefaultCargoTypes() { |
25 | return [ |
26 | 'Start date' => [], |
27 | ]; |
28 | } |
29 | |
30 | public static function getOtherCargoTypesHandled() { |
31 | return [ 'Date' ]; |
32 | } |
33 | |
34 | public function getInputClass() { |
35 | return 'dateInput startDateInput'; |
36 | } |
37 | } |