Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function updateColors($array) |
||
10 | { |
||
11 | $this->background = $array['background'] ?? 'white'; |
||
12 | $this->container_background = $array['container_background'] ?? 'grey'; |
||
13 | $this->title = $array['title'] ?? 'black'; |
||
14 | $this->text = $array['text'] ?? 'black'; |
||
15 | |||
16 | $this->menu_item_text = $array['menu_item_text'] ?? 'white'; |
||
17 | $this->menu_item_background = $array['menu_item_background'] ?? 'black'; |
||
18 | $this->menu_item_active_text = $array['menu_item_active_text'] ?? 'black'; |
||
19 | $this->menu_item_active_background = $array['menu_item_active_background'] ?? 'white'; |
||
20 | |||
21 | $this->categories_list_text = $array['categories_list_text'] ?? 'white'; |
||
22 | $this->categories_list_background = $array['categories_list_background'] ?? 'black'; |
||
23 | |||
24 | $this->tags_list_text = $array['tags_list_text'] ?? 'white'; |
||
25 | $this->tags_list_background = $array['tags_list_background'] ?? 'black'; |
||
26 | } |
||
27 | |||
33 |