• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblock.php
  • Класс: CAllIBlock
  • Вызов: CAllIBlock::getUrlElementData
static function getUrlElementData(int $id): ?array
{
	if ($id <= 0)
	{
		return null;
	}

	if (!isset(self::$urlElementDataCache[$id]))
	{
		static::fillUrlElementDataCache($id);
	}

	return (
		!empty(self::$urlElementDataCache[$id])
			? self::$urlElementDataCache[$id]
			: null
	);
}