CBPDocumentService::setGUIFieldEdit

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPDocumentService
  4. setGUIFieldEdit
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/documentservice.php
  • Класс: CBPDocumentService
  • Вызов: CBPDocumentService::setGUIFieldEdit
public function setGUIFieldEdit($parameterDocumentType, $fieldName, $arRequest, &$arErrors, $arDocumentField = array())
{
	[$moduleId, $entity, $documentType] = CBPHelper::ParseDocumentId($parameterDocumentType);

	if ($moduleId)
	{
		CModule::IncludeModule($moduleId);
	}

	if (!is_array($arDocumentField) || count($arDocumentField) <= 0)
	{
		$arDocumentFields = $this->GetDocumentFields($parameterDocumentType);
		$arDocumentField = $arDocumentFields[$fieldName];
	}

	if (class_exists($entity) && method_exists($entity, "SetGUIFieldEdit"))
		return call_user_func_array(array($entity, "SetGUIFieldEdit"), array($documentType, $fieldName, $arRequest, &$arErrors, $arDocumentField));

	return CBPHelper::SetGUIFieldEdit($parameterDocumentType, $fieldName, $arRequest, $arErrors, $arDocumentField);
}

Добавить комментарий