• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/response/htmlcontent.php
  • Класс: BitrixMainEngineResponseHtmlContent
  • Вызов: HtmlContent::getStringList
protected function getStringList()
{
	$stringList = [];
	foreach($this->cssPathList as $targetAsset)
	{
		$assetInfo = Asset::getInstance()->getAssetInfo($targetAsset['NAME'], AssetMode::ALL);
		if (!empty($assetInfo['STRINGS']))
		{
			$stringList = array_merge($stringList, $assetInfo['STRINGS']);
		}
	}

	foreach($this->jsPathList as $targetAsset)
	{
		$assetInfo = Asset::getInstance()->getAssetInfo($targetAsset['NAME'], AssetMode::ALL);
		if (!empty($assetInfo['STRINGS']))
		{
			$stringList = array_merge($stringList, $assetInfo['STRINGS']);
		}
	}

	$stringList[] = Asset::getInstance()->showFilesList();

	return $stringList;
}