method public

Reference::unserialize()

Класс: \Bitrix\Main\ORM\Fields\Relations\Reference

Сигнатура

public unserialize(mixed $value) : mixed

Параметры

$value mixed

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

mixed

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

Reference::unserialize() — метод класса \Bitrix\Main\ORM\Fields\Relations\Reference модуля «Главный модуль». Reference: Поле Reference описывает отношение 1-к-1 или 1-ко-многим между двумя сущностями.

Метод объекта: сначала нужен экземпляр Reference.

use Bitrix\Main\ORM\Fields\Relations\Reference;

/** @var Reference $object */
$value = null;
$result = $object->unserialize($value);
// $result: mixed

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

unserialize() есть и у других классов модуля «Главный модуль»: ArrayField, BooleanField, CryptoField, DateField, DatetimeField, DecimalField, EnumField, ExpressionField.

Исходный файл: source/main/lib/orm/fields/relations/reference.php:657

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