Метод findFirstIndex

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 128–139
~/bitrix/modulesim/lib/V2/Application/Navigation/MenuItemCollection.php

Исходный код

PHP
protected

Сигнатура метода

protected function findFirstIndex(string $id): ?int

Возвращает: ?int

Описание

Finds the numerical index of the first item with the given ID.

Параметры

1
Имя Тип По умолчанию Флаги
$id string -
-