public function uploadimageAction() { if ($this->auth->hasIdentity()) { $uploadimage = new Application_Model_Images($this->registry['DB']); $albumid = $this->getRequest()->getParam('album'); $description = $this->getRequest()->getParam('text'); $this->view->results = $uploadimage->uploadImage($albumid, $description); } }