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

