示例#1
0
 /**
  * action update
  *
  * @param Tx_Nboevents_Domain_Model_Person
  * @return void
  */
 public function updateAction(Tx_Nboevents_Domain_Model_Person $person, Tx_Nboevents_Domain_Model_Event $event)
 {
     $person->addEvent($event);
     $person->setCount($count, $event->getUid());
     $this->personRepository->update($person);
     $this->flashMessageContainer->add('<h3>Danke!</h3>Deine Anmeldung wurde angepasst.');
     $this->redirect('show', 'Event', NULL, array('event' => $event->getUid()));
 }