• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/form.php
  • Класс: BitrixReportVisualConstructorForm
  • Вызов: Form::getField
public function getField($key)
{
	static $fields;
	if (!$fields)
	{
		$fields = $this->getFields();
	}
	if (!isset($fields[$key]))
	{
		$this->errors[] = new Error('No field with key:' . $key);
		$result = null;
	}
	else
	{
		$result = $fields[$key];
	}
	return $result;
}