Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 11 |
|
0.00% |
0 / 5 |
CRAP | |
0.00% |
0 / 1 |
PFMultiEnumInput | |
0.00% |
0 / 11 |
|
0.00% |
0 / 5 |
30 | |
0.00% |
0 / 1 |
getOtherPropTypesHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOtherPropTypeListsHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOtherCargoTypesHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getOtherCargoTypeListsHandled | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
getParameters | |
0.00% |
0 / 7 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | /** |
3 | * @file |
4 | * @ingroup PF |
5 | */ |
6 | |
7 | /** |
8 | * The base class for every form input that holds a list of elements, each |
9 | * one from a pre-set enumeration of values. |
10 | * |
11 | * @ingroup PFFormInput |
12 | */ |
13 | abstract class PFMultiEnumInput extends PFEnumInput { |
14 | |
15 | public static function getOtherPropTypesHandled() { |
16 | return []; |
17 | } |
18 | |
19 | public static function getOtherPropTypeListsHandled() { |
20 | return [ 'enumeration' ]; |
21 | } |
22 | |
23 | public static function getOtherCargoTypesHandled() { |
24 | return []; |
25 | } |
26 | |
27 | public static function getOtherCargoTypeListsHandled() { |
28 | return [ 'Enumeration' ]; |
29 | } |
30 | |
31 | public static function getParameters() { |
32 | $params = parent::getParameters(); |
33 | $params[] = [ |
34 | 'name' => 'delimiter', |
35 | 'type' => 'string', |
36 | 'description' => wfMessage( 'pf_forminputs_delimiter' )->text() |
37 | ]; |
38 | return $params; |
39 | } |
40 | } |