public function indexAction() { $Pages = new App_Model_DbTable_Pages(); $this->view->pages = $Pages->getPagesWithGallery(); }