Conditions | 3 |
Paths | 4 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function listAction() |
||
19 | { |
||
20 | $request = $this->getRequest(); |
||
21 | if ($listMode = $request->get('_list_mode')) { |
||
22 | $this->admin->setListMode($listMode); |
||
23 | } |
||
24 | |||
25 | $listMode = $this->admin->getListMode(); |
||
26 | if ('tree' === $listMode) { |
||
27 | return $this->treeAction(); |
||
28 | } |
||
29 | |||
30 | return parent::listAction(); |
||
31 | } |
||
47 |