method public static

EventsPool::get()

Класс: \Bitrix\Sale\Internals\EventsPool

Сигнатура

public static get(mixed $code, mixed $type) : mixed

Параметры

$code mixed
$type mixed

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

mixed

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

EventsPool::get() — метод класса \Bitrix\Sale\Internals\EventsPool модуля «Интернет-магазин».

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

use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\EventsPool;

Loader::includeModule('sale');

$code = null;
$type = null;
$result = EventsPool::get($code, $type);
// $result: mixed

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

get() есть и у других классов модуля «Интернет-магазин»: ActionEntity, BusinessValue, Collection, DiscountCouponsManager, DiscountCouponsManagerBase, ExtraServicesService, Fields, ItemsPool.

Исходный файл: source/sale/lib/internals/eventspool.php:19

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