• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/automation/component/base.php
  • Класс: BitrixBizprocAutomationComponentBase
  • Вызов: Base::getTemplateViewData
static function getTemplateViewData(array $template, $documentType)
{
	foreach ($template['ROBOTS'] as $i => $robot)
	{
		$template['ROBOTS'][$i]['viewData'] = static::getRobotViewData($robot, $documentType);
	}

	return $template;
}