method
public
static
PostingTable::addRecipient()
Класс: \Bitrix\Sender\PostingTable
Сигнатура
public static addRecipient(mixed $ar[, bool $checkDuplicate = false ]) : mixed
Параметры
$ar
mixed
$checkDuplicate
bool
= false
Возвращаемое значение
mixed
Как применяется в PostingTable
PostingTable::addRecipient() — метод класса \Bitrix\Sender\PostingTable модуля «Email-маркетинг».
Статический метод — вызывается через имя класса PostingTable, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sender\PostingTable;
Loader::includeModule('sender');
$ar = null;
$result = PostingTable::addRecipient($ar);
// $result: mixedДругие методы PostingTable
deleteList()getMap()getRecipientCount()getRecipientCountByStatus()getRecipientStatusToPostingFieldMap()getSendPercent()Возвращает статус отправки рассылки в процентах по идентификатору рассылки.getTableName()initGroupRecipients()onDelete()
Исходный файл: source/sender/lib/posting.php:200

