/** Display the iron age numismatics pages * @access public * @return void */ public function ironagenumismaticsAction() { $form = new IronAgeNumismaticSearchForm(); $this->view->form = $form; if ($this->getRequest()->isPost()) { $this->_helper->geoFormLoaderOptions($this->getRequest()->getPost()); if ($form->isValid($this->getRequest()->getPost())) { $this->process($form->getValues()); } else { $this->_helper->geoFormLoaderOptions($form->getValues()); $form->populate($form->getValues()); } } else { $this->_helper->geoFormLoaderOptions($form->getValues()); $form->populate($form->getValues()); } }
/** Display the iron age numismatics pages */ public function ironagenumismaticsAction() { $form = new IronAgeNumismaticSearchForm(); $this->view->formIronAge = $form; if ($this->getRequest()->isPost() && $form->isValid($_POST)) { if ($form->isValid($form->getValues())) { $params = array_filter($form->getValues()); $params = $this->array_cleanup($params); $this->_flashMessenger->addMessage('Your search is complete'); $this->_helper->Redirector->gotoSimple('results', 'search', 'database', $params); } else { $form->populate($this->_getAllParams()); } } }