Base::formatValueSingle: Bitrix method

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

    
public static function formatValueSingle(FieldType $fieldType$value$format 'printable')
    {
        
$callable = static::getFormatCallable($format);
        
$value = static::toSingleValue($fieldType$value);

        if (
is_callable($callable))
        {
            return 
call_user_func($callable$fieldType$value);
        }
        
//return original value if format not found
        
return $value;
    }