Lines Matching refs:existingObject
108 * @param VCalendar $existingObject
111 public function processMessage(Message $itipMessage, VCalendar $existingObject = null) { argument
121 return $this->processMessageRequest($itipMessage, $existingObject);
124 return $this->processMessageCancel($itipMessage, $existingObject);
127 return $this->processMessageReply($itipMessage, $existingObject);
135 return $existingObject;
273 * @param VCalendar $existingObject
276 … protected function processMessageRequest(Message $itipMessage, VCalendar $existingObject = null) { argument
278 if (!$existingObject) {
281 $existingObject = new VCalendar();
283 $existingObject->add(clone $component);
289 foreach($existingObject->getComponents() as $component) {
290 $existingObject->remove($component);
293 $existingObject->add(clone $component);
296 return $existingObject;
308 * @param VCalendar $existingObject
311 … protected function processMessageCancel(Message $itipMessage, VCalendar $existingObject = null) { argument
313 if (!$existingObject) {
317 foreach($existingObject->VEVENT as $vevent) {
322 return $existingObject;
333 * @param VCalendar $existingObject
336 protected function processMessageReply(Message $itipMessage, VCalendar $existingObject = null) { argument
340 if (!$existingObject) {
360 foreach($existingObject->VEVENT as $vevent) {
400 $recurrenceIterator = new EventIterator($existingObject, $itipMessage->uid);
442 $existingObject->add($newObject);
445 return $existingObject;