• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/internal/engine/response/component.php
  • Класс: BitrixReportVisualConstructorInternalEngineResponseComponent
  • Вызов: Component::getStringList
private function getStringList()
{
	$strings = [];
	foreach($this->cssPathList as $targetAsset)
	{
		$assetInfo = $this->asset->getAssetInfo($targetAsset['NAME'], AssetMode::ALL);
		if (!empty($assetInfo['STRINGS']))
		{
			$strings = array_merge($strings, $assetInfo['STRINGS']);
		}
	}

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

	$strings[] = $this->asset->showFilesList();
	return $strings;
}