Total Complexity | 5 |
Total Lines | 58 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class multi_input extends cfg_field_base |
||
17 | { |
||
18 | /** |
||
19 | * @inheritdoc |
||
20 | */ |
||
21 | public function get_name() |
||
22 | { |
||
23 | return 'multi_input'; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public function prep_field(array &$vars, array &$type, $field, array $db_settings) |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Used to add multi-select drop down in blocks config |
||
51 | * |
||
52 | * @param string $field |
||
53 | * @param bool $sortable |
||
54 | * @param array $values |
||
55 | * @param string $label |
||
56 | * @return array |
||
57 | */ |
||
58 | public function build_multi_input($field, $sortable, array $values, $label = '') |
||
65 | ); |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function get_template() |
||
74 | } |
||
75 | } |
||
76 |