Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function findAllNavigation(): array |
||
16 | { |
||
17 | $query = $this->getEntityManager()->getConnection()->prepare("SELECT p.url, p.title, p.title_tag FROM navigation n |
||
18 | LEFT JOIN page p ON n.id_page = p.id AND p.displayed = 1 |
||
19 | LEFT JOIN module m ON n.id_module = m.id AND m.displayed = 1 |
||
20 | ORDER BY n.order ASC |
||
21 | "); |
||
22 | |||
23 | $query->execute(); |
||
24 | |||
25 | return $query->fetchAll(\PDO::FETCH_ASSOC); |
||
|
|||
26 | } |
||
45 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.