• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/classes/general/report.php
  • Класс: CReport
  • Вызов: CReport::getViewParams
static function getViewParams($id, $templateName)
{
	global $USER;

	$result = '';
	if (empty($templateName)) $templateName = '.default';
	if (get_class($USER) === 'CUser' && $id !== null && intval($id) >= 0 && !empty($templateName))
	{
		$user_id = $USER->GetId();
		if ($user_id != null)
		{
			$result = CUserOptions::GetOption(
				'report', 'view_params_'.$id.'_'.$templateName, false, $user_id
			);
		}

	}

	return $result;
}