Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
propertyrelation.php
1
<?php
10
namespace
Bitrix\Iblock\ORM\Fields
;
11
12
13
use
Bitrix\Iblock\ORM\PropertyValue
;
14
use
Bitrix\Iblock\Property
;
15
use Bitrix\Main\Cli\OrmAnnotateCommand;
16
17
trait PropertyRelation
18
{
20
protected
$iblockElementProperty;
21
25
public
function
getIblockElementProperty
()
26
{
27
return
$this->iblockElementProperty;
28
}
29
35
public
function
configureIblockElementProperty
($property)
36
{
37
$this->iblockElementProperty = $property;
38
39
return
$this;
40
}
41
42
public
function
getSetterTypeHint
()
43
{
44
return
parent::getSetterTypeHint()
45
.
'|\\'
.PropertyValue::class
46
.
'|'
.$this->getRefEntity()->getField(
'VALUE'
)->getSetterTypeHint();
47
}
48
}
Bitrix\Iblock\ORM\PropertyValue
Definition
propertyvalue.php:16
Bitrix\Iblock\Property
Definition
property.php:27
Bitrix\Iblock\ORM\Fields
Definition
propertyonetomany.php:9
Bitrix\Iblock\ORM\Fields\configureIblockElementProperty
configureIblockElementProperty($property)
Definition
propertyrelation.php:35
Bitrix\Iblock\ORM\Fields\getSetterTypeHint
getSetterTypeHint()
Definition
propertyrelation.php:42
Bitrix\Iblock\ORM\Fields\getIblockElementProperty
getIblockElementProperty()
Definition
propertyrelation.php:25
modules
iblock
lib
orm
fields
propertyrelation.php
Создано системой
1.10.0