1 | <?php |
||
5 | class ControllerNormalizer |
||
6 | { |
||
7 | /** |
||
8 | * Figures out which method should be called as the controller. |
||
9 | * @param $widget |
||
10 | * @return null |
||
11 | */ |
||
12 | public function normalizeControllerMethod($widget) |
||
21 | |||
22 | /** |
||
23 | * @param $ctrlClass |
||
24 | */ |
||
25 | private function checkControllerExists($ctrlClass) |
||
31 | |||
32 | /** |
||
33 | * @param $ctrlClass |
||
34 | */ |
||
35 | private function checkDataMethodExists($ctrlClass) |
||
41 | |||
42 | /** |
||
43 | * @param $widget |
||
44 | * @return array |
||
45 | */ |
||
46 | private function determineDataMethod($widget) |
||
60 | } |
||
61 |