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