Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Relation

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

 __construct ($sourceEntityTypeId, $sourceEntityId, $destinationEntityTypeId, $destinationEntityId)
 
 save ()
 
 getSourceEntityTypeId ()
 
 getSourceEntityId ()
 
 getDestinationEntityTypeId ()
 
 getDestinationEntityId ()
 
 setDestinationEntityId ($entityId)
 

Открытые статические члены

static getBySourceEntity ($entityTypeId, $entityId)
 
static getByEntity ($sourceEntityTypeId, $sourceEntityId, $destinationEntityTypeId, $destinationEntityId='')
 
static createFromArray (array $data)
 

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

 $sourceEntityTypeId = 0
 
 $sourceEntityId = 0
 
 $destinationEntityTypeId = 0
 
 $destinationEntityId = 0
 

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

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

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

◆ __construct()

__construct ( $sourceEntityTypeId,
$sourceEntityId,
$destinationEntityTypeId,
$destinationEntityId )

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

Методы

◆ createFromArray()

static createFromArray ( array $data)
static

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

◆ getByEntity()

static getByEntity ( $sourceEntityTypeId,
$sourceEntityId,
$destinationEntityTypeId,
$destinationEntityId = '' )
static

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

◆ getBySourceEntity()

static getBySourceEntity ( $entityTypeId,
$entityId )
static

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

◆ getDestinationEntityId()

getDestinationEntityId ( )

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

◆ getDestinationEntityTypeId()

getDestinationEntityTypeId ( )

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

◆ getSourceEntityId()

getSourceEntityId ( )

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

◆ getSourceEntityTypeId()

getSourceEntityTypeId ( )

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

◆ save()

save ( )

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

◆ setDestinationEntityId()

setDestinationEntityId ( $entityId)

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

Данные класса

◆ $destinationEntityId

$destinationEntityId = 0
protected

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

◆ $destinationEntityTypeId

$destinationEntityTypeId = 0
protected

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

◆ $sourceEntityId

$sourceEntityId = 0
protected

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

◆ $sourceEntityTypeId

$sourceEntityTypeId = 0
protected

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