public function getwallphotosAction() { if (isset($this->authIdentity)) { $get = new Application_Model_Images($this->registry['DB']); $id = $this->getRequest()->getParam('id'); $this->view->results = $get->getbanners($id); } }