Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
iblock.php
1
<?php
9
namespace
Bitrix\Iblock
;
10
11
use
Bitrix\Iblock\ORM\CommonElementTable
;
12
17
class
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
}
Bitrix\Iblock\Iblock
Definition
iblock.php:18
Bitrix\Iblock\Iblock\getEntityDataClassName
getEntityDataClassName()
Definition
iblock.php:19
Bitrix\Iblock\Iblock\getEntityDataClass
getEntityDataClass()
Definition
iblock.php:32
Bitrix\Iblock\IblockTable\DATA_CLASS_PREFIX
const DATA_CLASS_PREFIX
Definition
iblocktable.php:109
Bitrix\Iblock\ORM\CommonElementTable
Definition
commonelementtable.php:29
Bitrix\Iblock
modules
iblock
lib
iblock.php
Создано системой
1.10.0