1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
sitetemplate.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main;
4
5
use Bitrix\Main\ORM\Fields;
6
use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
7
24
class
SiteTemplateTable
extends
Entity\DataManager
25
{
26
use DeleteByFilterTrait;
27
28
public
static
function
getTableName
()
29
{
30
return
'b_site_template'
;
31
}
32
33
public
static
function
getMap
()
34
{
35
return
array
(
36
'ID'
=>
array
(
37
'data_type'
=>
'integer'
,
38
'primary'
=>
true
,
39
'autocomplete'
=>
true
,
40
),
41
'SITE_ID'
=>
array
(
42
'data_type'
=>
'string'
,
43
),
44
'CONDITION'
=>
array
(
45
'data_type'
=>
'string'
46
),
47
'SORT'
=>
array
(
48
'data_type'
=>
'integer'
,
49
),
50
'TEMPLATE'
=>
array
(
51
'data_type'
=>
'string'
52
),
53
'SITE'
=>
array
(
54
'data_type'
=>
'Bitrix\Main\Site'
,
55
'reference'
=>
array
(
'=this.SITE_ID'
=>
'ref.LID'
),
56
),
57
(
new
Fields
\
ExpressionField
(
58
'EMPTY_CONDITION'
,
59
"CASE
60
WHEN %s IS NULL OR %s = '' THEN 1
61
ELSE 2
62
END"
,
63
[
'CONDITION'
,
'CONDITION'
]
64
)),
65
);
66
}
67
}
Bitrix\Main\ORM\Fields\ExpressionField
Определения
expressionfield.php:25
Bitrix\Main\SiteTemplateTable
Определения
sitetemplate.php:25
Bitrix\Main\SiteTemplateTable\getMap
static getMap()
Определения
sitetemplate.php:33
Bitrix\Main\SiteTemplateTable\getTableName
static getTableName()
Определения
sitetemplate.php:28
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\ORM\Fields
Определения
arrayfield.php:9
bitrix
modules
main
lib
sitetemplate.php
Создано системой
1.14.0