function GetFieldInputControlOptions($documentType, &$arFieldType, $jsFunctionName, &$value) { $iblockId = intval(substr($documentType, strlen("iblock_"))); if ($iblockId > 0 && ($storage = self::needProxyToDiskByDocType($documentType))) { return self::proxyToDisk(__FUNCTION__, array(\Bitrix\Disk\BizProcDocumentCompatible::generateDocumentType($storage->getId()), $arFieldType, $jsFunctionName, $value)); } return parent::GetFieldInputControlOptions($documentType, $arFieldType, $jsFunctionName, $value); }