3namespace Bitrix\Mail\Internals;
6use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
26 use DeleteByFilterTrait;
42 return 'b_mail_message_access';
49 'data_type' =>
'string',
52 'MAILBOX_ID' =>
array(
53 'data_type' =>
'integer',
56 'MESSAGE_ID' =>
array(
57 'data_type' =>
'integer',
60 'ENTITY_UF_ID' =>
array(
61 'data_type' =>
'integer',
64 'ENTITY_TYPE' =>
array(
65 'data_type' =>
'string',
69 'data_type' =>
'integer',
73 'data_type' =>
'string',
77 'data_type' =>
'text',
82 '\Bitrix\Crm\ActivityTable',
84 '=this.ENTITY_TYPE' =>
array(
'?s', self::ENTITY_TYPE_CRM_ACTIVITY),
85 '=this.ENTITY_ID' =>
'ref.ID',
103 ->where(
'MAILBOX_ID', $mailboxId)
112 return array_map(fn(
array $bind):
string =>
"{$bind['ENTITY_TYPE']}-{$bind['ENTITY_ID']}", $binds);
if(! $messageFields||!isset($messageFields['message_id'])||!isset($messageFields['status'])||!CModule::IncludeModule("messageservice")) $messageId
const ENTITY_TYPE_CALENDAR_EVENT
static getBinds(int $mailboxId, int $messageId)
const ENTITY_TYPE_NO_BIND
const ENTITY_TYPE_BLOG_POST
const ENTITY_TYPE_CRM_ACTIVITY
const ENTITY_TYPE_IM_CHAT
const ENTITY_TYPE_TASKS_TASK
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)