method public static

DealSumStatisticEntry::getCurrent()

Класс: \Bitrix\Crm\Statistics\DealSumStatisticEntry

Сигнатура

public static getCurrent() : DealSumStatisticEntry

Описание

Получить текущий экземпляр

Возвращаемое значение

DealSumStatisticEntry

Как применяется в DealSumStatisticEntry

DealSumStatisticEntry::getCurrent() — метод класса \Bitrix\Crm\Statistics\DealSumStatisticEntry модуля «CRM».

Статический метод — вызывается через имя класса DealSumStatisticEntry, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Crm\Statistics\DealSumStatisticEntry;

Loader::includeModule('crm');

$result = DealSumStatisticEntry::getCurrent();
// $result: DealSumStatisticEntry

Другие методы DealSumStatisticEntry

getCurrent() есть и у других классов модуля «CRM»: ActivityChannelStatisticEntry, ActivitySettings, CompanySettings, ContactSettings, DealChannelStatisticEntry, DealSettings, DealStageColorScheme, InvoiceSettings.

Исходный файл: source/crm/lib/statistics/dealsumstatisticentry.php:452

Что будем искать? Например,Продвижение