/** * Configuration * * @return array */ public function configurationAction() { $this->checkInstall(5); $this->installForm->configuration(); if ($this->getRequest()->isPost()) { $data = $this->getRequest()->getPost()->toArray(); $this->installForm->setData($data); if ($this->installForm->isValid()) { $values = $this->installForm->getInputFilter()->getValues(); $session = $this->getSession(); $install = $session['install']; $install['configuration'] = $values; $session['install'] = $install; return $this->redirect()->toRoute('install/complete'); } } $this->layout()->setVariables(array('currentRoute' => $this->getRouteMatch()->getMatchedRouteName())); return array('form' => $this->installForm); }
/** * Test * * @return void */ public function testConfiguration() { $this->assertNull($this->object->configuration()); }