method public static

ItemsPool::get()

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

Сигнатура

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

Параметры

$code mixed
$type mixed

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

mixed

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

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

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

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

Loader::includeModule('sale');

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

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

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

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

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