Total Complexity | 4 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class multi_select extends cfg_field_base |
||
19 | { |
||
20 | /** |
||
21 | * @inheritdoc |
||
22 | */ |
||
23 | public function get_name() |
||
24 | { |
||
25 | return 'multi_select'; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function prep_field(array &$vars, array &$type, $field, array $db_settings) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Used to add multi-select drop down in blocks config |
||
40 | * |
||
41 | * @param array $option_ary |
||
42 | * @param mixed $selected_items |
||
43 | * @param string $field |
||
44 | * @return array |
||
45 | */ |
||
46 | public function build_multi_select(array $option_ary, $selected_items, $field) |
||
52 | ); |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function get_template() |
||
63 |