Ejemplo n.º 1
0
 /** Display the byzantine search form
  * @access public
  * @return void
  */
 public function byzantinenumismaticsAction()
 {
     $form = new ByzantineNumismaticSearchForm();
     $this->view->byzantineform = $form;
     if ($this->getRequest()->isPost() && $form->isValid($this->_request->getPost())) {
         if ($form->isValid($form->getValues())) {
             $this->process($form->getValues());
         } else {
             $form->populate($form->getValues());
         }
     }
 }
Ejemplo n.º 2
0
 /** Display the byzantine search form
  */
 public function byzantinenumismaticsAction()
 {
     $form = new ByzantineNumismaticSearchForm();
     $this->view->byzantineform = $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());
         }
     }
 }