/** Add a publication
  */
 public function addAction()
 {
     $form = new PublicationForm();
     $form->submit->setLabel('Submit new');
     $this->view->form = $form;
     if ($this->getRequest()->isPost() && $form->isValid($this->_request->getPost())) {
         if ($form->isValid($form->getValues())) {
             $insertData = $form->getValues();
             $publications = new Publications();
             $insert = $publications->add($insertData);
             $this->_helper->solrUpdater->update('beopublications', $insert);
             $this->_redirect(self::REDIRECT . 'publication/id/' . $insert);
             $this->_flashMessenger->addMessage('A new reference work has been created on the system!');
         } else {
             $form->populate($form->getValues());
         }
     }
 }