public function addAction() { $form = $this->getBiBoUserForm(); $request = $this->getRequest(); if ($request->isPost()) { $user = new BiBoUser(); $form->setInputFilter($user->getInputFilter()); $form->setData($request->getPost()); if ($form->isValid()) { $this->getBiBoUserService()->addBiBoUser($form->getData(), $form->getHydrator()); return $this->redirect()->toRoute('bi-bo-user'); } } return array('form' => $form); }
/** * {@inheritDoc} */ public function getArrayValue() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getArrayValue', array()); return parent::getArrayValue(); }