1 | <?php namespace EmailLog\Core\UI; |
||
14 | class UILoader implements Loadie { |
||
15 | |||
16 | /** |
||
17 | * UI Component List. |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $components = array(); |
||
22 | |||
23 | /** |
||
24 | * List of Admin pages. |
||
25 | * |
||
26 | * @var \EmailLog\Core\UI\Page\BasePage[] |
||
27 | */ |
||
28 | protected $pages = array(); |
||
29 | |||
30 | /** |
||
31 | * Load all components and setup hooks. |
||
32 | * |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public function load() { |
||
47 | |||
48 | public function is_show_dashboard_widget() { |
||
57 | |||
58 | /** |
||
59 | * Initialize UI component Objects. |
||
60 | * |
||
61 | * This method may be overwritten in tests. |
||
62 | * |
||
63 | * @access protected |
||
64 | */ |
||
65 | protected function initialize_components() { |
||
73 | |||
74 | /** |
||
75 | * Initialize Admin page Objects. |
||
76 | * |
||
77 | * This method may be overwritten in tests. |
||
78 | * |
||
79 | * @access protected |
||
80 | */ |
||
81 | protected function initialize_pages() { |
||
86 | } |
||
87 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.