Total Complexity | 6 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
16 | class DateRange extends DateTimeRange |
||
17 | { |
||
18 | public $type = 'daterange'; |
||
19 | |||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | public function getProperties() |
||
24 | { |
||
25 | return array_merge(parent::getProperties(), ['type', 'format']); |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function getValue() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Get the picker format |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getFormat() |
||
44 | { |
||
45 | return neon()->formatter->dateFormat; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @inheritdoc |
||
50 | */ |
||
51 | public function registerScripts($view) |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @inheritdoc |
||
58 | */ |
||
59 | public function getComponentDetails() |
||
65 | } |