/** * Create action * * @return void */ public function createAction() { if ($this->_request->isPost()) { // NOTE: we will turn this into a Zend_Form after were sure it will work this way $mdlDesign = new Model_Design(); $name = Digitalus_Filter_Post::get('name'); $notes = Digitalus_Filter_Post::get('notes'); $id = $mdlDesign->createDesign($name, $notes); $this->_redirect('admin/design/update/id/' . $id); return; } $this->_forward('index'); }