CBPDocumentService :: GetFieldInputControlOptions: Bitrix method

      
<?php 
//  CBPDocumentService :: GetFieldInputControlOptions()
//  /dist/bitrix/modules/bizproc/classes/general/documentservice.php:726

    
public function GetFieldInputControlOptions($parameterDocumentType, &$fieldType$jsFunctionName, &$value)
    {
        list(
$moduleId$entity$documentType) = CBPHelper::ParseDocumentId($parameterDocumentType);

        if (
strlen($moduleId) > 0)
            
CModule::IncludeModule($moduleId);

        
$arFieldType FieldType::normalizeProperty($fieldType);
        if ((string) 
$arFieldType["Type"] == "")
            return 
"";

        
$fieldTypeObject $this->getFieldTypeObject($parameterDocumentType$arFieldType);
        if (
$fieldTypeObject)
        {
            return 
$fieldTypeObject->renderControlOptions($jsFunctionName$value);
        }

        
$fieldType $arFieldType;

        if (
class_exists($entity) && method_exists($entity"GetFieldInputControlOptions"))
            return 
call_user_func_array(array($entity"GetFieldInputControlOptions"), array($documentType, &$fieldType$jsFunctionName, &$value));

        return 
"";
    }