src/Kunstmaan/AdminBundle/Helper/AdminPanel/AdminPanel.php 1 location
|
@@ 66-74 (lines=9) @@
|
63 |
|
/** |
64 |
|
* Sorts the internal list of adaptors by priority. |
65 |
|
*/ |
66 |
|
private function sortAdaptors() |
67 |
|
{ |
68 |
|
$this->sorted = array(); |
69 |
|
|
70 |
|
if (isset($this->adaptors)) { |
71 |
|
krsort($this->adaptors); |
72 |
|
$this->sorted = call_user_func_array('array_merge', $this->adaptors); |
73 |
|
} |
74 |
|
} |
75 |
|
} |
76 |
|
|
src/Kunstmaan/AdminBundle/Helper/Menu/MenuBuilder.php 1 location
|
@@ 178-186 (lines=9) @@
|
175 |
|
/** |
176 |
|
* Sorts the internal list of adaptors by priority. |
177 |
|
*/ |
178 |
|
private function sortAdaptors() |
179 |
|
{ |
180 |
|
$this->sorted = array(); |
181 |
|
|
182 |
|
if (isset($this->adaptors)) { |
183 |
|
krsort($this->adaptors); |
184 |
|
$this->sorted = call_user_func_array('array_merge', $this->adaptors); |
185 |
|
} |
186 |
|
} |
187 |
|
} |
188 |
|
|