public function indexAction() { // init $this->init(); // get pages $this->view->pageArray = \Model\Page::find(); // set main view $this->view->setMainView('block-module-pages/admin-index'); }