|
static | getMaxAttachedFilesSize () |
|
static | getMaxAttachedFilesSizeAfterEncoding () |
|
static | getWhitelistTagAttributes () |
|
static | prepare (&$message) |
|
static | hasAccess (&$message, $userId=null) |
|
static | prepareSearchContent (&$fields) |
|
static | prepareSearchString ($string) |
|
static | getCountersForUserMailboxes ($userId, $onlyGeneralCounter=false) |
|
static | ensureAttachments (&$message) |
|
static | parseAddressList ($column) |
|
static | isolateSelector ($matches) |
|
static | isolateStylesInTheTag ($matches) |
|
static | isolateStylesInTheBody ($html) |
|
static | isolateMessageStyles ($messageHtml) |
|
static | sanitizeHtml ($html, $isolateStyles=false) |
|
static | reSyncBody ($mailboxId, $messageIds) |
|
static | getSaltByEntityType (string $entityType, int $entityId, ?int $userId=null) |
|
static | isMailboxOwner (int $mailboxId, int $userId) |
|
static | updateMailEntityOptionsRow ($mailboxId, $messageId) |
|
static | isBodyNeedUpdateAfterLoadAttachments (string $body) |
|
static | replaceBodyInlineImgContentId (string $body, string $contentId, int $attachmentId) |
|
static | isolateBase64Files (string $text) |
|
static | isIcalMessage (\Bitrix\Mail\Item\Message $message) |
|
См. определение в файле message.php строка 17
◆ ensureAttachments()
static ensureAttachments |
( |
& | $message | ) |
|
|
static |
◆ getCountersForUserMailboxes()
static getCountersForUserMailboxes |
( |
| $userId, |
|
|
| $onlyGeneralCounter = false ) |
|
static |
- Аргументы
-
$userId | |
$onlyGeneralCounter | |
- Возвращает
- array|int
См. определение в файле message.php строка 434
◆ getMaxAttachedFilesSize()
static getMaxAttachedFilesSize |
( |
| ) |
|
|
static |
◆ getMaxAttachedFilesSizeAfterEncoding()
static getMaxAttachedFilesSizeAfterEncoding |
( |
| ) |
|
|
static |
◆ getSaltByEntityType()
static getSaltByEntityType |
( |
string | $entityType, |
|
|
int | $entityId, |
|
|
?int | $userId = null ) |
|
static |
◆ getWhitelistTagAttributes()
static getWhitelistTagAttributes |
( |
| ) |
|
|
static |
Returns a whitelist of attributes for the html sanitizer (\CBXSanitizer::SanitizeHtml)
- Возвращает
- array
См. определение в файле message.php строка 48
◆ hasAccess()
static hasAccess |
( |
& | $message, |
|
|
| $userId = null ) |
|
static |
◆ isBodyNeedUpdateAfterLoadAttachments()
static isBodyNeedUpdateAfterLoadAttachments |
( |
string | $body | ) |
|
|
static |
Is message body contains link to attachment
- Аргументы
-
string | $body | HTML body of message |
- Возвращает
- bool
См. определение в файле message.php строка 789
◆ isIcalMessage()
◆ isMailboxOwner()
static isMailboxOwner |
( |
int | $mailboxId, |
|
|
int | $userId ) |
|
static |
◆ isolateBase64Files()
static isolateBase64Files |
( |
string | $text | ) |
|
|
static |
◆ isolateMessageStyles()
static isolateMessageStyles |
( |
| $messageHtml | ) |
|
|
static |
◆ isolateSelector()
static isolateSelector |
( |
| $matches | ) |
|
|
static |
◆ isolateStylesInTheBody()
static isolateStylesInTheBody |
( |
| $html | ) |
|
|
static |
◆ isolateStylesInTheTag()
static isolateStylesInTheTag |
( |
| $matches | ) |
|
|
static |
◆ parseAddressList()
static parseAddressList |
( |
| $column | ) |
|
|
static |
◆ prepare()
static prepare |
( |
& | $message | ) |
|
|
static |
Adapts a message(result of Mail\MailMessageTable::getList) for output in the public interface.
- Аргументы
-
array | &$message,(result | of Mail\MailMessageTable::getList. Changes the data in a variable!). |
- Возвращает
- array(modified $message).
См. определение в файле message.php строка 143
◆ prepareSearchContent()
static prepareSearchContent |
( |
& | $fields | ) |
|
|
static |
◆ prepareSearchString()
static prepareSearchString |
( |
| $string | ) |
|
|
static |
◆ replaceBodyInlineImgContentId()
static replaceBodyInlineImgContentId |
( |
string | $body, |
|
|
string | $contentId, |
|
|
int | $attachmentId ) |
|
static |
Replace html body inline image content id with attachment id
- Аргументы
-
string | $body | HTML string |
string | $contentId | Content Id in img tag (with or without http://) |
int | $attachmentId | Attachment ID in DB |
- Возвращает
- string
См. определение в файле message.php строка 803
◆ reSyncBody()
static reSyncBody |
( |
| $mailboxId, |
|
|
| $messageIds ) |
|
static |
◆ sanitizeHtml()
static sanitizeHtml |
( |
| $html, |
|
|
| $isolateStyles = false ) |
|
static |
◆ updateMailEntityOptionsRow()
static updateMailEntityOptionsRow |
( |
| $mailboxId, |
|
|
| $messageId ) |
|
static |
- Аргументы
-
- Возвращает
- void
См. определение в файле message.php строка 768
◆ ENTITY_TYPE_CALENDAR_EVENT
const ENTITY_TYPE_CALENDAR_EVENT = MessageAccessTable::ENTITY_TYPE_CALENDAR_EVENT |
◆ ENTITY_TYPE_IM_CHAT
const ENTITY_TYPE_IM_CHAT = MessageAccessTable::ENTITY_TYPE_IM_CHAT |