method public static

File::mergeValue()

Класс: \Bitrix\Bizproc\BaseType\File

Сигнатура

public static mergeValue(FieldType $fieldType, array<string|int, mixed> $baseValue, mixed $appendValue) : mixed

Параметры

$fieldType FieldType
Тип поля документа.
$baseValue array<string|int, mixed>
Базовое значение.
$appendValue mixed
Значение для добавления.

Возвращаемое значение

mixed

Как применяется в File

File::mergeValue() — метод класса \Bitrix\Bizproc\BaseType\File модуля «Бизнес-процессы».

Статический метод — вызывается через имя класса File, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\File;

Loader::includeModule('bizproc');

$fieldType = null; // FieldType
$baseValue = [];
$appendValue = null;
$result = File::mergeValue($fieldType, $baseValue, $appendValue);
// $result: mixed

Другие методы File

mergeValue() есть и у других классов модуля «Бизнес-процессы»: Base, BoolType, Date, Datetime, Double, FieldType, InternalSelect, IntType.

Исходный файл: source/bizproc/lib/basetype/file.php:245

Что будем искать? Например,Продвижение