Метод delete

public

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

public function delete(DictionaryType $type, string $id): Result

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

Описание

Erases the value $id of the dictionary $type. A successful result carries no data. Elements referring to the value are not looked at: the reference stays behind pointing at nothing, which is what this domain does today and keeps doing.

Параметры

2
Имя Тип По умолчанию Флаги
$type DictionaryType —
—
$id string —
—

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

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

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

Исходный код

PHP