Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
propertyrelation.php
1<?php
11
12
15use Bitrix\Main\Cli\OrmAnnotateCommand;
16
17trait 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}
configureIblockElementProperty($property)