• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/handler/basereport.php
  • Класс: BitrixReportVisualConstructorHandlerBaseReport
  • Вызов: BaseReport::getNameForFormElement
protected function getNameForFormElement(BaseValuable $element, $pseudoReportId = '')
{
	$name = '';
	if ($this->getWidgetHandler() && $this->getReport())
	{
		$name = 'widget[' .
			$this->getWidgetHandler()->getWidget()->getGId() .
			'][reports][' .
			$this->getReport()->getGId() .
			']';
	}
	elseif(!$this->getReport())
	{
		$name =  'widget[' .
			$this->getWidgetHandler()->getWidget()->getGId() .
			'][reports][' .
			$pseudoReportId .
			']';
	}

	$name .= parent::getNameForFormElement($element);
	return $name;
}