File :: renderControlSingle: Bitrix method

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

    
public static function renderControlSingle(FieldType $fieldType, array $field$value$allowSelection$renderMode)
    {
        if (
$allowSelection && $renderMode FieldType::RENDER_MODE_PUBLIC)
        {
            return 
self::renderPublicSelectableControlSingle($fieldType$field$value);
        }

        return 
parent::renderControlSingle($fieldType$field$value$allowSelection$renderMode);
    }