• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/userfield/dispatcher.php
  • Класс: BitrixMainUserFieldDispatcher
  • Вызов: Dispatcher::getResult
public function getResult()
{
	$this->assetCollectior->startAssetCollection();

	if(!empty($this->validateFieldList))
	{
		$this->processValidate();
	}

	foreach($this->fieldList as $fieldInfo)
	{
		$this->processField($fieldInfo);
	}

	$result = array(
		'FIELD' => $this->result,
		'ERROR' => $this->getErrorList(),
		'ASSET' => $this->assetCollectior->getCollectedAssets(),
	);

	$this->reset();

	return $result;
}