method public static

PoolBase::get()

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

Сигнатура

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

Параметры

$code mixed
$type mixed

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

mixed

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

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

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

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

Loader::includeModule('sale');

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

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

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

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

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