method
public
static
ItemsPool::delete()
Сигнатура
public static delete(mixed $code, mixed $type, mixed $index) : mixed
Параметры
$code
mixed
$type
mixed
$index
mixed
Возвращаемое значение
mixed
Как применяется в ItemsPool
ItemsPool::delete() — метод класса \Bitrix\Sale\Internals\ItemsPool модуля «Интернет-магазин».
Статический метод — вызывается через имя класса ItemsPool, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\ItemsPool;
Loader::includeModule('sale');
$code = null;
$type = null;
$index = null;
$result = ItemsPool::delete($code, $type, $index);
// $result: mixedДругие методы ItemsPool
delete() есть и у других классов модуля «Интернет-магазин»: ActionEntity, Base, BasketArchiveTable, BasketItem, BasketItemBase, BasketPropertyItem, BasketPropertyItemBase, BusinessValue.
Исходный файл: source/sale/lib/internals/itemspool.php:62

