Метод withDefaultViews

public static

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

public static function withDefaultViews(mixed $stored): array

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

Описание

The stored column a write of the embedding merges into: the block of the variants filled with the defaults while the column holds it empty, and left alone otherwise. A form nobody has placed anywhere carries the block empty, and every reader of the column answers the defaults of the whole tree for it - {@see ViewSettings::fromStoredViews()} and {@see Form::loadOnlyForm()} alike. Merging one node into an empty block would leave it non-empty and every setting the write said nothing about unanswered by both of them, so the defaults are laid under the written node instead.

Параметры

1
Имя Тип По умолчанию Флаги
$stored mixed —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/WebForm/FormSettingsColumn.php
Расположение метода в файле
Строки 186–196

Исходный код

PHP