Esempio n. 1
0
 /**
  * process reply
  * 
  * some attender replied to my request (I'm Organizer) -> update status (seq++) / send notifications!
  * 
  * NOTE: only external replies should be processed here
  *       @todo check silence for internal replies
  *       
  * @param  Calendar_Model_iMIP   $_iMIP
  */
 protected function _processReply(Calendar_Model_iMIP $_iMIP)
 {
     // merge ics into existing event
     $existingEvent = $_iMIP->getExistingEvent();
     $event = $_iMIP->mergeEvent($existingEvent);
     $attendee = $event->attendee[array_search($_iMIP->originator, $existingEvent->attendee->getEmail())];
     // NOTE: if current user has no rights to the calendar, status update is not applied
     Calendar_Controller_MSEventFacade::getInstance()->attenderStatusUpdate($event, $attendee);
 }