1 | <?php |
||
14 | class InPortalClassChecker extends ClassChecker |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Methods for which scope change isn't a BC break. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | protected $ignoreScopeChangeMethods = array('mapPermissions', 'SetCustomQuery'); |
||
23 | |||
24 | /** |
||
25 | * Returns backwards compatibility checker name. |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getName() |
||
33 | |||
34 | /** |
||
35 | * Processes method. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | protected function processMethod() |
||
51 | |||
52 | /** |
||
53 | * Builds string representation of a parameter. |
||
54 | * |
||
55 | * @param array $parameter_data Parameter data. |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | protected function paramToString(array $parameter_data) |
||
75 | |||
76 | /** |
||
77 | * Determines if current class is an event handler. |
||
78 | * |
||
79 | * @return boolean |
||
80 | */ |
||
81 | protected function isEventHandler() |
||
87 | |||
88 | /** |
||
89 | * Determines if current class is a tag processor. |
||
90 | * |
||
91 | * @return boolean |
||
92 | */ |
||
93 | protected function isTagProcessor() |
||
97 | |||
98 | /** |
||
99 | * Determines if current method is an event. |
||
100 | * |
||
101 | * @return boolean |
||
102 | */ |
||
103 | protected function isEvent() |
||
107 | |||
108 | /** |
||
109 | * Determines if method scope change should be ignored. |
||
110 | * |
||
111 | * @return boolean |
||
112 | */ |
||
113 | protected function ignoreScopeChange() |
||
117 | |||
118 | } |
||
119 |