Total Complexity | 8 |
Total Lines | 67 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | class ZurbMenuPresenter extends Presenter |
||
8 | { |
||
9 | /** |
||
10 | * {@inheritdoc } |
||
11 | */ |
||
12 | public function getOpenTagWrapper() |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * {@inheritdoc } |
||
20 | */ |
||
21 | public function getCloseTagWrapper() |
||
22 | { |
||
23 | return PHP_EOL . '</ul></nav>' . PHP_EOL; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc } |
||
28 | */ |
||
29 | public function getMenuWithoutDropdownWrapper($item) |
||
30 | { |
||
31 | return '<li' . $this->getActiveState($item) . '><a href="' . $item->getUrl() . '">' . $item->title . '</a></li>'; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc } |
||
36 | */ |
||
37 | public function getActiveState($item) |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc } |
||
44 | */ |
||
45 | public function getDividerWrapper() |
||
46 | { |
||
47 | return '<li class="divider"></li>'; |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc } |
||
52 | */ |
||
53 | public function getMenuWithDropDownWrapper($item) |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc } |
||
65 | */ |
||
66 | public function getMultiLevelDropdownWrapper($item) |
||
76 |