1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Reference
Граф наследования:Reference:
Relation Field ITypeHintable PropertyReference

Открытые члены

 __construct ($name, $referenceEntity, $referenceFilter, $parameters=array())
 getTypeMask ()
 validateValue ($value, $primary, $row, Result $result)
 getDataType ()
 getReference ()
 getElementals ()
Открытые члены унаследованные от Relation
 configureCascadeSavePolicy ($cascadeSavePolicy)
 configureCascadeDeletePolicy ($cascadeDeletePolicy)
 getRefEntityName ()
 configureJoinType ($type)
 getJoinType ()
 getCascadeSavePolicy ()
 getCascadeDeletePolicy ()
 getGetterTypeHint ()
 getSetterTypeHint ()
Открытые члены унаследованные от Field
 __construct ($name, $parameters=array())
 setEntity (Entity $entity)
 resetEntity ()
 modifyValueBeforeSave ($value, $data)
 getValidators ()
 addValidator ($validator)
 getFetchDataModifiers ()
 addFetchDataModifier ($modifier)
 getSaveDataModifiers ()
 addSaveDataModifier ($modifier)
 isSerialized ()
 setSerialized ()
 configureSerialized ()
 getName ()
 setName ($name)
 configureTitle ($title)
 getTitle ()
 setParameter ($name, $value)
 getParameter ($name)
 hasParameter ($name)
 setParentField (Field $parentField)
 getParentField ()
 getEntity ()
 getLangCode ()
 setConnection ($connection)
 getConnection ()
 serialize ($value)
 unserialize ($value)
 postInitialize ()

Поля данных

const ELEMENTAL_THIS = 1
const ELEMENTAL_REF = 2
const ELEMENTAL_BOTH = 3

Защищенные статические члены

static getElementalFlag ($definition)

Защищенные данные

 $reference
 $joinType = Join::TYPE_LEFT
 $cascadeSavePolicy = CascadePolicy::NO_ACTION
 $cascadeDeletePolicy = CascadePolicy::NO_ACTION
Защищенные данные унаследованные от Relation
 $refEntityName
 $refEntity
 $joinType = null
 $cascadeSavePolicy
 $cascadeDeletePolicy
Защищенные данные унаследованные от Field
 $name
 $dataType
 $initialParameters
 $title
 $validation = null
 $validators = null
 $additionalValidators = array()
 $fetchDataModification = null
 $fetchDataModifiers
 $additionalFetchDataModifiers = array()
 $saveDataModification = null
 $saveDataModifiers
 $additionalSaveDataModifiers = array()
 $isSerialized = false
 $parentField
 $entity
 $connection = null

Дополнительные унаследованные члены

Открытые статические члены унаследованные от Field
static getOldDataTypeByClass ($class)
static getOldDataTypeByField (Field $field)
static getClassByOldDataType ($dateType)
Защищенные члены унаследованные от Field
 appendValidator ($validator)
 appendFetchDataModifier ($modifier)
 appendSaveDataModifier ($modifier)
Статические защищенные данные унаследованные от Field
static $oldDataTypes

Подробное описание

См. определение в файле reference.php строка 25

Конструктор(ы)

◆ __construct()

__construct ( $name,
$referenceEntity,
$referenceFilter,
$parameters = array() )
Аргументы
string$name
string | Entity$referenceEntity
array | Filter$referenceFilter
array$parametersdeprecated, use configure* and add* methods instead
Исключения
ArgumentException
SystemException

См. определение в файле reference.php строка 49

Методы

◆ getDataType()

getDataType ( )
Возвращает
null|string

Переопределяет метод предка Field.

См. определение в файле reference.php строка 111

◆ getElementalFlag()

getElementalFlag ( $definition)
staticprotected

См. определение в файле reference.php строка 168

◆ getElementals()

getElementals ( )

Returns set of strictly linked fields of this and ref entities [localFieldName => remoteFieldName]

Возвращает
array|bool

См. определение в файле reference.php строка 126

◆ getReference()

getReference ( )

См. определение в файле reference.php строка 116

◆ getTypeMask()

getTypeMask ( )

Переопределяет метод предка Field.

См. определение в файле reference.php строка 82

◆ validateValue()

validateValue ( $value,
$primary,
$row,
Result $result )
Аргументы
$value
$primary
$row
Result$result
Возвращает
Result
Исключения
ArgumentException
SystemException

Переопределяет метод предка Field.

См. определение в файле reference.php строка 97

Поля

◆ $cascadeDeletePolicy

$cascadeDeletePolicy = CascadePolicy::NO_ACTION
protected

См. определение в файле reference.php строка 34

◆ $cascadeSavePolicy

$cascadeSavePolicy = CascadePolicy::NO_ACTION
protected

См. определение в файле reference.php строка 32

◆ $joinType

$joinType = Join::TYPE_LEFT
protected

См. определение в файле reference.php строка 30

◆ $reference

$reference
protected

См. определение в файле reference.php строка 28

◆ ELEMENTAL_BOTH

const ELEMENTAL_BOTH = 3

См. определение в файле reference.php строка 38

◆ ELEMENTAL_REF

const ELEMENTAL_REF = 2

См. определение в файле reference.php строка 37

◆ ELEMENTAL_THIS

const ELEMENTAL_THIS = 1

См. определение в файле reference.php строка 36


Объявления и описания членов класса находятся в файле: