@@ -24,8 +24,7 @@ discard block |
||
24 | 24 | * @subpackage dlf |
25 | 25 | * @access public |
26 | 26 | */ |
27 | -class TableOfContentsController extends AbstractController |
|
28 | -{ |
|
27 | +class TableOfContentsController extends AbstractController { |
|
29 | 28 | /** |
30 | 29 | * This holds the active entries according to the currently selected page |
31 | 30 | * |
@@ -45,8 +44,7 @@ discard block |
||
45 | 44 | * |
46 | 45 | * @return void |
47 | 46 | */ |
48 | - public function filterAction() |
|
49 | - { |
|
47 | + public function filterAction() { |
|
50 | 48 | // if filter was triggered, get filter parameters from POST variables |
51 | 49 | $this->filterParams = $this->getParametersSafely('filterParameter'); |
52 | 50 | |
@@ -59,8 +57,7 @@ discard block |
||
59 | 57 | * |
60 | 58 | * @return void |
61 | 59 | */ |
62 | - public function mainAction() |
|
63 | - { |
|
60 | + public function mainAction() { |
|
64 | 61 | // Load current document. |
65 | 62 | $this->loadDocument($this->requestData); |
66 | 63 | if ( |
@@ -91,8 +88,7 @@ discard block |
||
91 | 88 | * @access protected |
92 | 89 | * @return array HMENU array |
93 | 90 | */ |
94 | - protected function makeMenuArray() |
|
95 | - { |
|
91 | + protected function makeMenuArray() { |
|
96 | 92 | // Set default values for page if not set. |
97 | 93 | // $this->requestData['page'] may be integer or string (physical structure @ID) |
98 | 94 | if ( |
@@ -168,8 +164,7 @@ discard block |
||
168 | 164 | * |
169 | 165 | * @return array HMENU array |
170 | 166 | */ |
171 | - protected function makeMenuFor3DObjects() |
|
172 | - { |
|
167 | + protected function makeMenuFor3DObjects() { |
|
173 | 168 | $menuArray = []; |
174 | 169 | |
175 | 170 | // Go through table of contents and create all menu entries. |
@@ -192,8 +187,7 @@ discard block |
||
192 | 187 | * |
193 | 188 | * @return array HMENU array for menu entry |
194 | 189 | */ |
195 | - protected function getMenuEntry(array $entry, $recursive = false) |
|
196 | - { |
|
190 | + protected function getMenuEntry(array $entry, $recursive = false) { |
|
197 | 191 | $entry = $this->resolveMenuEntry($entry); |
198 | 192 | |
199 | 193 | $entryArray = []; |
@@ -287,8 +281,7 @@ discard block |
||
287 | 281 | * @param array $entry |
288 | 282 | * @return array |
289 | 283 | */ |
290 | - protected function resolveMenuEntry($entry) |
|
291 | - { |
|
284 | + protected function resolveMenuEntry($entry) { |
|
292 | 285 | // If the menu entry points to the parent document, |
293 | 286 | // resolve to the parent UID set on indexation. |
294 | 287 | $doc = $this->document->getDoc(); |
@@ -304,8 +297,7 @@ discard block |
||
304 | 297 | return $entry; |
305 | 298 | } |
306 | 299 | |
307 | - protected function getMenuEntryWithImage(array $entry, $recursive = false) |
|
308 | - { |
|
300 | + protected function getMenuEntryWithImage(array $entry, $recursive = false) { |
|
309 | 301 | $entryArray = []; |
310 | 302 | |
311 | 303 | // don't filter if the entry type is collection or search params are empty |