Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
elemententity.php
1<?php
9namespace Bitrix\Iblock\ORM;
10
11use Bitrix\Iblock\EO_Iblock;
14
15
20abstract class ElementEntity extends Entity
21{
23 protected $iblock;
24
30 public function setIblock($iblock)
31 {
32 $this->iblock = $iblock;
33
34 $this->getField('IBLOCK_ID')->configureDefaultValue(
35 $iblock->getId()
36 );
37 }
38
42 public function getIblock()
43 {
44 return $this->iblock;
45 }
46
47 abstract public function getSingleValueTableName();
48
49 abstract public function getMultiValueTableName();
50}