MessageAccess
-
see
-
MessageAccess
Table of Contents
Methods
-
checkAccessForCalendarEvent()
: bool
-
checkAccessForChat()
: bool
-
createSecret()
: string
-
createToken()
: string
-
isMailboxOwner()
: bool
-
isMessageOwner()
: bool
checkAccessForCalendarEvent()
public
static checkAccessForCalendarEvent(int $calendarEventId, int $userId) : bool
Parameters
-
$calendarEventId
: int
-
-
$userId
: int
-
checkAccessForChat()
public
static checkAccessForChat(int $chatId, int $userId) : bool
Parameters
-
$chatId
: int
-
-
$userId
: int
-
createSecret()
public
static createSecret() : string
createToken()
public
static createToken(mixed $mailBoxId, mixed $messageId, mixed $entityType, mixed $entityId[, mixed $ufId = '0' ]) : string
Parameters
-
$mailBoxId
: mixed
-
-
$messageId
: mixed
-
-
$entityType
: mixed
-
-
$entityId
: mixed
-
-
$ufId
: mixed
= '0'
-
isMailboxOwner()
public
static isMailboxOwner(int $mailboxId, int $userId) : bool
Parameters
-
$mailboxId
: int
-
-
$userId
: int
-
isMessageOwner()
public
static isMessageOwner(Message $message, mixed $userId) : bool
Parameters
-
$message
: Message
-
-
$userId
: mixed
-