|
| 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 строка 18
◆ ensureAttachments()
| ensureAttachments |
( |
& | $message | ) |
|
|
static |
◆ getCountersForUserMailboxes()
| getCountersForUserMailboxes |
( |
| $userId, |
|
|
| $onlyGeneralCounter = false ) |
|
static |
- Аргументы
-
| $userId | |
| $onlyGeneralCounter | |
- Возвращает
- array|int
См. определение в файле message.php строка 435
◆ getMaxAttachedFilesSize()
| getMaxAttachedFilesSize |
( |
| ) |
|
|
static |
◆ getMaxAttachedFilesSizeAfterEncoding()
| getMaxAttachedFilesSizeAfterEncoding |
( |
| ) |
|
|
static |
◆ getSaltByEntityType()
| getSaltByEntityType |
( |
string | $entityType, |
|
|
int | $entityId, |
|
|
?int | $userId = null ) |
|
static |
◆ getWhitelistTagAttributes()
| getWhitelistTagAttributes |
( |
| ) |
|
|
static |
Returns a whitelist of attributes for the html sanitizer (\CBXSanitizer::SanitizeHtml)
- Возвращает
- array
См. определение в файле message.php строка 49
◆ hasAccess()
| hasAccess |
( |
& | $message, |
|
|
| $userId = null ) |
|
static |
◆ isBodyNeedUpdateAfterLoadAttachments()
| isBodyNeedUpdateAfterLoadAttachments |
( |
string | $body | ) |
|
|
static |
Is message body contains link to attachment
- Аргументы
-
| string | $body | HTML body of message |
- Возвращает
- bool
См. определение в файле message.php строка 809
◆ isIcalMessage()
◆ isMailboxOwner()
| isMailboxOwner |
( |
int | $mailboxId, |
|
|
int | $userId ) |
|
static |
◆ isolateBase64Files()
| isolateBase64Files |
( |
string | $text | ) |
|
|
static |
◆ isolateMessageStyles()
| isolateMessageStyles |
( |
| $messageHtml | ) |
|
|
static |
◆ isolateSelector()
| isolateSelector |
( |
| $matches | ) |
|
|
static |
◆ isolateStylesInTheBody()
| isolateStylesInTheBody |
( |
| $html | ) |
|
|
static |
◆ isolateStylesInTheTag()
| isolateStylesInTheTag |
( |
| $matches | ) |
|
|
static |
◆ parseAddressList()
| parseAddressList |
( |
| $column | ) |
|
|
static |
◆ prepare()
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 строка 144
◆ prepareSearchContent()
| prepareSearchContent |
( |
& | $fields | ) |
|
|
static |
◆ prepareSearchString()
| prepareSearchString |
( |
| $string | ) |
|
|
static |
◆ replaceBodyInlineImgContentId()
| 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 строка 823
◆ reSyncBody()
| reSyncBody |
( |
| $mailboxId, |
|
|
| $messageIds ) |
|
static |
◆ sanitizeHtml()
| sanitizeHtml |
( |
| $html, |
|
|
| $isolateStyles = false ) |
|
static |
◆ updateMailEntityOptionsRow()
| updateMailEntityOptionsRow |
( |
| $mailboxId, |
|
|
| $messageId ) |
|
static |
- Аргументы
-
- Возвращает
- void
См. определение в файле message.php строка 788
◆ 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 |
Объявления и описания членов класса находятся в файле: