8namespace Bitrix\Sender;
10use Bitrix\Main\Entity;
11use Bitrix\Main\Localization\Loc;
12use Bitrix\Main\ORM\Query\Query;
13use Bitrix\Main\Type as MainType;
15Loc::loadMessages(__FILE__);
42 return 'b_sender_contact_list';
53 'CONTACT_ID' =>
array(
54 'data_type' =>
'integer',
58 'data_type' =>
'integer',
62 'data_type' =>
'Bitrix\Sender\ListTable',
63 'reference' =>
array(
'=this.LIST_ID' =>
'ref.ID'),
66 'data_type' =>
'Bitrix\Sender\ContactTable',
67 'reference' =>
array(
'=this.CONTACT_ID' =>
'ref.ID'),
82 $arPrimary =
array(
'CONTACT_ID' => $contactId,
'LIST_ID' => $listId);
83 if( !($arList = static::getRowById($arPrimary) ))
85 $resultAdd = static::add($arPrimary);
86 if ($resultAdd->isSuccess())
110 \CTimeZone::disable();
112 'DELETE FROM %s WHERE %s',
117 \CTimeZone::enable();
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)