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

