Lines Matching refs:existingObject
108 * @param VCalendar $existingObject
112 function processMessage(Message $itipMessage, VCalendar $existingObject = null) { argument
122 return $this->processMessageRequest($itipMessage, $existingObject);
125 return $this->processMessageCancel($itipMessage, $existingObject);
128 return $this->processMessageReply($itipMessage, $existingObject);
136 return $existingObject;
275 * @param VCalendar $existingObject
279 … protected function processMessageRequest(Message $itipMessage, VCalendar $existingObject = null) { argument
281 if (!$existingObject) {
284 $existingObject = new VCalendar();
286 $existingObject->add(clone $component);
292 foreach ($existingObject->getComponents() as $component) {
293 $existingObject->remove($component);
296 $existingObject->add(clone $component);
299 return $existingObject;
311 * @param VCalendar $existingObject
315 … protected function processMessageCancel(Message $itipMessage, VCalendar $existingObject = null) { argument
317 if (!$existingObject) {
321 foreach ($existingObject->VEVENT as $vevent) {
326 return $existingObject;
337 * @param VCalendar $existingObject
341 protected function processMessageReply(Message $itipMessage, VCalendar $existingObject = null) { argument
345 if (!$existingObject) {
365 foreach ($existingObject->VEVENT as $vevent) {
405 $recurrenceIterator = new EventIterator($existingObject, $itipMessage->uid);
447 $existingObject->add($newObject);
450 return $existingObject;