Пример #1
0
 public function updateEvent(ArrayHash $values)
 {
     try {
         $e = new Event((array) $values);
         $e->setEditor($this->getUser()->getIdentity());
         $this->eventsService->updateEvent($e);
     } catch (Exceptions\DataErrorException $ex) {
         $this->handleDataSave(null, "this", $ex);
     }
     $this->redirect("default");
 }