• Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/lib/activity/propertiesdialog.php
  • Класс: BitrixBizprocActivityPropertiesDialog
  • Вызов: PropertiesDialog::__toString
public function __toString()
{
	if ($this->renderer !== null)
	{
		return call_user_func($this->renderer, $this);
	}

	$runtime = CBPRuntime::getRuntime();
	$runtime->startRuntime();

	return (string)$runtime->executeResourceFile(
		$this->activityFile,
		$this->dialogFileName,
		array_merge(array(
			'dialog' => $this,
			//compatible parameters
			'arCurrentValues' => $this->getCurrentValues($this->dialogFileName === 'properties_dialog.php'),
			'formName' => $this->getFormName()
			), $this->getRuntimeData()
		)
	);
}