Base::renderControlSelector: Bitrix method

      
<?php 
//  Bitrix\Bizproc\BaseType\Base :: renderControlSelector()
//  /dist/bitrix/modules/bizproc/lib/basetype/base.php:498

    
protected static function renderControlSelector(array $field$value null$showInput false$selectorMode ''FieldType $fieldType null)
    {
        
$html '';
        
$controlId = static::generateControlId($field);
        if (
$showInput)
        {
            
$controlId $controlId.'_text';
            
$name = static::generateControlName($field).'_text';
            
$html '<input type="text" id="'.htmlspecialcharsbx($controlId).'" name="'
                    
.htmlspecialcharsbx($name).'" value="'.htmlspecialcharsbx((string)$value).'">';
        }
        
$html .= static::renderControlSelectorButton($controlId$fieldType$selectorMode);

        return 
$html;
    }