/** * Show the pages * @throws \Exception */ public function pages() { $pages = new Page(); $pages->fetchAll(); $this->to_tpl['pages'] = $pages->list; $this->template = "admin/pages-list"; return; }