| @@ 88-95 (lines=8) @@ | ||
| 85 | $pageRender->renderPage(["title" => $title]); | |
| 86 | } | |
| 87 | ||
| 88 | public function getUsers() | |
| 89 |     { | |
| 90 | $overview = new Overview(); | |
| 91 | ||
| 92 |         $data = $overview->returnLimitUsers($this->di->get("db"), "points desc", 5); | |
| 93 | ||
| 94 | return $data; | |
| 95 | } | |
| 96 | ||
| 97 | public function getPosts() | |
| 98 |     { | |
| @@ 106-113 (lines=8) @@ | ||
| 103 | return $data; | |
| 104 | } | |
| 105 | ||
| 106 | public function getTags($id) | |
| 107 |     { | |
| 108 | $overview = new Overview(); | |
| 109 | ||
| 110 |         $data = $overview->returnAllTagsFromPost($this->di->get("db"), [$id]); | |
| 111 | ||
| 112 | return $data; | |
| 113 | } | |
| 114 | ||
| 115 | public function getPopularTags() | |
| 116 |     { | |