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

