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

