14Loader::includeModule(
'calendar');
57 $fileArray = \CFile::makeFileArray($fileId);
58 if (!empty($fileArray))
60 return \Bitrix\Main\IO\File::getFileContents($fileArray[
'tmp_name']);
68 foreach ($attachments as $item)
86 $handler = IncomingInvitationRequestHandler::createInstance();
87 $handler->setIcalComponent($icalComponent)
89 ->setDecision($decision)
90 ->setEmailFrom($message[
'FIELD_TO'])
91 ->setEmailTo($message[
'FIELD_FROM'])
95 return $handler->getEventId();
static handleRequest($params)
static createInstance(string $content)
static createWithComponent(int $userId, Calendar $icalComponent)
static fromComponent(Calendar $component)
static hasICalAttachments(array $attachments)
static handleRequest(Calendar $icalComponent, int $userId, string $decision, $message)
static parseRequest(string $content)
static handleCancel(Calendar $icalComponent, $userId)
static handleReply(Calendar $icalComponent)
static getFileContent($fileId)
static manageRequest($params)
static parseFile($fileId)