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

