• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/classes/general/report.php
  • Класс: CReport
  • Вызов: CReport::getFullColumnTitle
static function getFullColumnTitle($view, $viewColumns, $fullHumanTitles)
{
	$title = $fullHumanTitles[$view['fieldName']];

	if (!empty($view['aggr']))
	{
		$title .= ' ('.GetMessage('REPORT_SELECT_CALC_VAR_'.$view['aggr']).')';
	}

	if($view['prcnt'] <> '')
	{
		if($view['prcnt'] == 'self_column')
		{
			$title .= ' (%)';
		}
		else
		{
			$byTitle = self::getFullColumnTitle($viewColumns[$view['prcnt']], $viewColumns, $fullHumanTitles);
			$title .= ' ('.GetMessage('REPORT_PRCNT_FROM_TITLE').' '.$byTitle.')';
		}
	}

	return $title;
}