method
public
static
EventsPool::resetPool()
Сигнатура
public static resetPool([null $code = null ][, null $type = null ]) : mixed
Параметры
$code
null
= null
$type
null
= null
Возвращаемое значение
mixed
Как применяется в EventsPool
EventsPool::resetPool() — метод класса \Bitrix\Sale\Internals\EventsPool модуля «Интернет-магазин».
Статический метод — вызывается через имя класса EventsPool, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\EventsPool;
Loader::includeModule('sale');
$result = EventsPool::resetPool();
// $result: mixedДругие методы EventsPool
add()addEvent()delete()get()getByIndex()getEvents()getEventsByType()getPoolByCode()isEventTypeExists()isTypeExists()resetEvents()
resetPool() есть и у других классов модуля «Интернет-магазин»: ActionEntity, ItemsPool, PoolBase.
Исходный файл: source/sale/lib/internals/eventspool.php:85

