File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/iblock/lib/orm/fields/propertyrelation.php
Back
<?php /** * Bitrix Framework * @package bitrix * @subpackage iblock * @copyright 2001-2018 Bitrix */ namespace Bitrix\Iblock\ORM\Fields; use Bitrix\Iblock\ORM\PropertyValue; use Bitrix\Iblock\Property; use Bitrix\Main\Cli\OrmAnnotateCommand; trait PropertyRelation { /** @var Property */ protected $iblockElementProperty; /** * @return Property */ public function getIblockElementProperty() { return $this->iblockElementProperty; } /** * @param $property * * @return $this */ public function configureIblockElementProperty($property) { $this->iblockElementProperty = $property; return $this; } public function getSetterTypeHint() { return parent::getSetterTypeHint() .'|\\'.PropertyValue::class .'|'.$this->getRefEntity()->getField('VALUE')->getSetterTypeHint(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings