Метод applyToFormData

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 88–118
~/bitrix/modulestasks/lib/internals/task/template/unresolvedformmembers.php

Исходный код

PHP
public static

Сигнатура метода

public static function applyToFormData(array $formData, array $protectedFields): array

Возвращает: array

Описание

Consumes what the form posted about members it could not render: the ids themselves and a flag per member field telling whether the field had rendered members at all. Both keys are form-local and are removed here, so the public action the form calls never sees them.

Параметры

2
Имя Тип По умолчанию Флаги
$formData array -
-
$protectedFields array -
-