Метод elementIdsNamedBy

private static

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

private static function elementIdsNamedBy(array $row): ?array

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

Описание

The files a legacy row names, read under the two keys legacy reads them under and in its order of preference: a list already unpacked, the raw column, the column of the caller. Null means the row names no list of its own and the rows of the activity are asked instead. TWO SHAPES ARE ANSWERED DIFFERENTLY FROM LEGACY, and a stored row carries neither: the column holds a serialized list, and legacy rebuilds it out of the rows wherever it holds anything else. A number in the column is an identifier of an ACTIVITY to legacy and not of a file (`PrepareStorageElementIDs()`, crm_activity.php:4618-4641): a positive one makes it read the elements of THAT activity and write the rebuilt column back onto it, so it answers with the files of somebody else's activity and edits that activity on the way; a non-positive one falls back to the identifier of the row itself, which is what happens here for every number - the list is always the one of the current activity. A string that is no serialization leaves legacy with a false it carries down to an argument typed as an array, and here it is an empty list.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Activity/Pipeline/Step/Delete/InnerDelete.php
Расположение метода в файле
Строки 264–290

Исходный код

PHP