Lines Matching refs:iTipMessage
379 * @param ITip\Message $iTipMessage
382 function deliver(ITip\Message $iTipMessage) {
384 $this->server->emit('schedule', [$iTipMessage]);
385 if (!$iTipMessage->scheduleStatus) {
386 $iTipMessage->scheduleStatus = '5.2;There was no system capable of delivering the scheduling message';
390 list($baseCode) = explode('.', $iTipMessage->scheduleStatus);
391 if (!$iTipMessage->significantChange && in_array($baseCode, ['3', '5'])) {
392 $iTipMessage->scheduleStatus = null;
441 * @param ITip\Message $iTipMessage
444 function scheduleLocalDelivery(ITip\Message $iTipMessage) {
455 $principalUri = $aclPlugin->getPrincipalByUri($iTipMessage->recipient);
457 $iTipMessage->scheduleStatus = '3.7;Could not find principal.';
484 $iTipMessage->scheduleStatus = '5.2;Could not find local inbox';
488 $iTipMessage->scheduleStatus = '5.2;Could not locate a calendar-home-set';
492 $iTipMessage->scheduleStatus = '5.2;Could not find a schedule-default-calendar-URL property';
500 if ($iTipMessage->method === 'REPLY') {
507 $iTipMessage->scheduleStatus = '3.8;insufficient privileges: ' . $privilege . ' is required on the recipient schedule inbox.';
513 $uid = $iTipMessage->uid;
536 $newObject = $broker->processMessage($iTipMessage, $currentObject);
538 $inbox->createFile($newFileName, $iTipMessage->message->serialize());
547 $iTipMessage->scheduleStatus = '5.0;iTip message was not processed by the server, likely because we didn\'t understand it.';
561 if ($iTipMessage->method === 'REPLY') {
565 [$iTipMessage->recipient],
566 [$iTipMessage->sender]
571 $iTipMessage->scheduleStatus = '1.2;Message delivered locally';