method public static

ActionEntity::get()

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

Сигнатура

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

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