# Reference

URL: https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/
Проверено на 1С-Битрикс 25.x, обновлено 03.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией 1С-Битрикс.

Класс `\Bitrix\Main\ORM\Fields\Relations\Reference`
Модуль: Main.

## Описание

main

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

## Константы (3)

- `ELEMENTAL_BOTH`
- `ELEMENTAL_REF`
- `ELEMENTAL_THIS`

## Методы (47)

- [`__construct()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/__construct/)
- [`addFetchDataModifier()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/addfetchdatamodifier/)
- [`addSaveDataModifier()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/addsavedatamodifier/)
- [`addValidator()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/addvalidator/)
- [`configureCascadeDeletePolicy()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/configurecascadedeletepolicy/)
- [`configureCascadeSavePolicy()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/configurecascadesavepolicy/)
- [`configureJoinType()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/configurejointype/)
- [`configureSerialized()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/configureserialized/) (устаревший)
- [`configureTitle()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/configuretitle/) — Языковая фраза
- [`getCascadeDeletePolicy()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getcascadedeletepolicy/)
- [`getCascadeSavePolicy()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getcascadesavepolicy/)
- [`static getClassByOldDataType()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getclassbyolddatatype/) (устаревший)
- [`getConnection()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getconnection/)
- [`getDataType()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getdatatype/)
- [`getElementals()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getelementals/) — Возвращает набор строго связанных полей этой и ссылочной сущностей [localFieldName => remoteFieldName]
- [`getEntity()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getentity/)
- [`getFetchDataModifiers()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getfetchdatamodifiers/)
- [`getGetterTypeHint()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getgettertypehint/)
- [`getJoinType()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getjointype/)
- [`getLangCode()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getlangcode/)
- [`getName()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getname/)
- [`static getOldDataTypeByClass()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getolddatatypebyclass/) (устаревший)
- [`static getOldDataTypeByField()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getolddatatypebyfield/) (устаревший)
- [`getParameter()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getparameter/)
- [`getParentField()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getparentfield/)
- [`getRefEntity()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getrefentity/)
- [`getRefEntityName()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getrefentityname/)
- [`getReference()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getreference/)
- [`getSaveDataModifiers()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getsavedatamodifiers/)
- [`getSetterTypeHint()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getsettertypehint/)
- [`getTitle()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/gettitle/)
- [`getTypeMask()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/gettypemask/)
- [`getValidators()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/getvalidators/)
- [`hasParameter()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/hasparameter/)
- [`isSerialized()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/isserialized/)
- [`modifyValueBeforeSave()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/modifyvaluebeforesave/)
- [`postInitialize()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/postinitialize/) — Вызывается после инициализации сущностью Entity
- [`resetEntity()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/resetentity/)
- [`serialize()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/serialize/)
- [`setConnection()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setconnection/)
- [`setEntity()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setentity/)
- [`setName()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setname/)
- [`setParameter()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setparameter/)
- [`setParentField()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setparentfield/)
- [`setSerialized()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/setserialized/)
- [`unserialize()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/unserialize/)
- [`validateValue()`](https://chugunov.pro/api-bitrix/main/orm/fields/relations/reference/validatevalue/)

Оригинал в официальной документации: https://docs.1c-bitrix.ru/api/classes/Bitrix-Main-ORM-Fields-Relations-Reference.html
