File :: renderPublicSelectableControlSingle: Bitrix method

      
<?php 
//  Bitrix\Bizproc\BaseType\File :: renderPublicSelectableControlSingle()
//  /dist/bitrix/modules/bizproc/lib/basetype/file.php:207

    
private static function renderPublicSelectableControlSingle(FieldType $fieldType, array $field$value)
    {
        
$name = static::generateControlName($field);
        
$className = static::generateControlClassName($fieldType$field);
        
$className str_replace('file''file-selectable'$className);

        return 
'<input type="text" class="'.htmlspecialcharsbx($className)
            .
'" name="'.htmlspecialcharsbx($name).'" value="'.htmlspecialcharsbx((string) $value)
            .
'" placeholder="'.htmlspecialcharsbx($fieldType->getDescription()).'" value="'.htmlspecialcharsbx((string) $value).'"'
            
.' data-role="inline-selector-target" data-selector-type="file"'
            
.'/>';
    }