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

