method
public
static
DealSumStatisticEntry::isRegistered()
Сигнатура
public static isRegistered(int $ownerID) : bool
Описание
Проверить, зарегистрирована ли сущность
Параметры
$ownerID
int
Идентификатор владельца.
Возвращаемое значение
bool
Как применяется в DealSumStatisticEntry
DealSumStatisticEntry::isRegistered() — метод класса \Bitrix\Crm\Statistics\DealSumStatisticEntry модуля «CRM».
Статический метод — вызывается через имя класса DealSumStatisticEntry, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Statistics\DealSumStatisticEntry;
Loader::includeModule('crm');
$ownerID = 1;
$result = DealSumStatisticEntry::isRegistered($ownerID);
// $result: boolДругие методы DealSumStatisticEntry
getAll()Получить всеgetBindingInfos()Получить сведения о привязкахgetBusySlotCount()Получить количество занятых слотовgetCurrent()Получить текущий экземплярgetEntityTypeID()Получить идентификатор типа сущностиgetLatest()Получить последниеgetSlotBindingMap()Получить карту привязокgetSlotFieldInfos()Получить данные полейgetSlotInfos()Получить данные слотовgetTypeName()Получить имя типа записиisValid()Проверить, действительна ли записьnullSafeCompareDates()Сравнить две даты по Unix-таймстампу с учётом null. NULL трактуется как нулевой таймстамп.
isRegistered() есть и у других классов модуля «CRM»: ActivityChannelStatisticEntry, DealChannelStatisticEntry, InvoiceSumStatisticEntry, LeadChannelStatisticEntry, LeadSumStatisticEntry.
Исходный файл: source/crm/lib/statistics/dealsumstatisticentry.php:95

