ICalMailManager
Table of Contents
Constants
-
CONTENT_TYPES
= ['application/ics', 'text/calendar']
Methods
-
getFileContent()
: mixed
-
handleCancel()
: mixed
-
handleReply()
: bool
-
handleRequest()
: mixed
-
hasICalAttachments()
: mixed
-
manageRequest()
: void
-
parseFile()
: mixed
-
parseRequest()
: Calendar
CONTENT_TYPES
public
mixed
CONTENT_TYPES
= ['application/ics', 'text/calendar']
getFileContent()
public
static getFileContent(mixed $fileId) : mixed
Parameters
-
$fileId
: mixed
-
handleCancel()
public
static handleCancel(Calendar $icalComponent, mixed $userId) : mixed
Parameters
-
$icalComponent
: Calendar
-
-
$userId
: mixed
-
handleReply()
public
static handleReply(Calendar $icalComponent) : bool
Parameters
-
$icalComponent
: Calendar
-
handleRequest()
public
static handleRequest(Calendar $icalComponent, int $userId, string $decision, mixed $message) : mixed
Parameters
-
$icalComponent
: Calendar
-
-
$userId
: int
-
-
$decision
: string
-
-
$message
: mixed
-
hasICalAttachments()
public
static hasICalAttachments(array<string|int, mixed> $attachments) : mixed
Parameters
-
$attachments
: array<string|int, mixed>
-
manageRequest()
public
static manageRequest(mixed $params) : void
Parameters
-
$params
: mixed
-
parseFile()
public
static parseFile(mixed $fileId) : mixed
Parameters
-
$fileId
: mixed
-
parseRequest()
public
static parseRequest(string $content) : Calendar
Parameters
-
$content
: string
-