public function newAction() { $this->view->form = new Admin_Form_Album(); if ($this->getRequest()->isPost()) { if ($this->view->form->isValid($this->getRequest()->getPost())) { Zwe_Model_Album::addAlbum($this->view->form->getValue('title'), $this->view->form->getValue('page'), $this->view->form->getValue('description')); $this->_helper->redirector('index'); } } }