1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
iblock.php
См. документацию.
1<?php
8
9namespace Bitrix\Iblock;
10
11use Bitrix\Iblock\ORM\CommonElementTable;
12
17class Iblock extends EO_Iblock
18{
19 public function getEntityDataClassName()
20 {
21 $code = $this->fillApiCode();
22
23 if($code <> '')
24 {
25 return IblockTable::DATA_CLASS_PREFIX.ucfirst($code).'Table';
26 }
27 }
28
32 public function getEntityDataClass()
33 {
34 $className = $this->getEntityDataClassName();
35
36 if($className <> '')
37 {
38 return '\\'.IblockTable::DATA_CLASS_NAMESPACE.'\\'.$className;
39 }
40
41 trigger_error('API_CODE required for DataClass of iblock #'.$this->getId(), E_USER_WARNING);
42 }
43}
Определения iblock.php:18
getEntityDataClassName()
Определения iblock.php:19
getEntityDataClass()
Определения iblock.php:32
const DATA_CLASS_PREFIX
Определения iblocktable.php:113
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195