method
public
static
InvoiceSumStatisticEntry::register()
Сигнатура
public static register(int $ownerID[, array<string|int, mixed>|null $entityFields = null ][, array<string|int, mixed>|null $options = null ]) : void
Описание
Зарегистрировать сущность.
Параметры
$ownerID
int
Идентификатор владельца.
$entityFields
array<string|int, mixed>|null
= null
Поля сущности.
$options
array<string|int, mixed>|null
= null
Параметры операции.
Возвращаемое значение
void
Как применяется в InvoiceSumStatisticEntry
InvoiceSumStatisticEntry::register() — метод класса \Bitrix\Crm\Statistics\InvoiceSumStatisticEntry модуля «CRM».
Статический метод — вызывается через имя класса InvoiceSumStatisticEntry, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Statistics\InvoiceSumStatisticEntry;
Loader::includeModule('crm');
$ownerID = 1;
InvoiceSumStatisticEntry::register($ownerID);Другие методы InvoiceSumStatisticEntry
getAll()Получить все.getBindingInfos()Получить сведения о привязках.getBusySlotCount()Возвращает количество занятых слотов.getCurrent()Получить текущий экземпляр.getEntityTypeID()Получить идентификатор типа сущности.getLatest()Получить последний.getSlotBindingMap()Получить карту привязок.getSlotFieldInfos()Получить данные полей.getSlotInfos()Получить данные слотов.getTypeName()Получить имя типа записи.isRegistered()Проверить, зарегистрирована ли сущность.isValid()Проверить, является ли запись корректной.
register() есть и у других классов модуля «CRM»: ActivityChannelBinding, ActivityChannelStatisticEntry, CompanyAddress, ContactAddress, DealChannelBinding, DealChannelStatisticEntry, DealSumStatisticEntry, DuplicateCommunicationCriterion.
Исходный файл: source/crm/lib/statistics/invoicesumstatisticentry.php:127

