| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 30 | public function findAllNavigationPage(): array |
||
| 31 | { |
||
| 32 | $query = $this->getEntityManager()->getConnection()->prepare("SELECT p.url, p.title, p.title_tag FROM navigation n |
||
| 33 | INNER JOIN page p ON n.id_page = p.id AND p.displayed = 1 |
||
| 34 | ORDER BY n.order ASC |
||
| 35 | "); |
||
| 36 | |||
| 37 | $query->execute(); |
||
| 38 | |||
| 39 | return $query->fetchAll(\PDO::FETCH_ASSOC); |
||
| 40 | } |
||
| 41 | } |