1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
cookiesagreement.php
См. документацию.
1
<?php
2
namespace
Bitrix\Landing\Internals;
3
4
use \Bitrix\Main\Localization\Loc;
5
use \Bitrix\Main\Entity;
6
7
Loc::loadMessages(__FILE__);
8
25
class
CookiesAgreementTable
extends
Entity\DataManager
26
{
31
public
static
function
getTableName
()
32
{
33
return
'b_landing_cookies_agreement'
;
34
}
35
40
public
static
function
getMap
()
41
{
42
return
array
(
43
'ID'
=>
new
Entity
\
IntegerField
(
'ID'
,
array
(
44
'primary'
=>
true
,
45
'autocomplete'
=>
true
,
46
'title'
=>
'ID'
47
)),
48
'ACTIVE'
=>
new
Entity
\
StringField
(
'ACTIVE'
,
array
(
49
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_ACTIVE'
),
50
'default_value'
=>
'Y'
51
)),
52
'SITE_ID'
=>
new
Entity
\
IntegerField
(
'SITE_ID'
,
array
(
53
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_SITE_ID'
),
54
'required'
=>
true
55
)),
56
'CODE'
=>
new
Entity
\
StringField
(
'CODE'
,
array
(
57
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_COOKIE_CODE'
),
58
'required'
=>
true
59
)),
60
'TITLE'
=>
new
Entity
\
StringField
(
'TITLE'
,
array
(
61
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_COOKIE_TITLE'
)
62
)),
63
'CONTENT'
=>
new
Entity
\
StringField
(
'CONTENT'
,
array
(
64
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_COOKIE_CONTENT'
),
65
'required'
=>
true
66
)),
67
'CREATED_BY_ID'
=>
new
Entity
\
IntegerField
(
'CREATED_BY_ID'
,
array
(
68
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_CREATED_BY_ID'
),
69
'required'
=>
true
70
)),
71
'MODIFIED_BY_ID'
=>
new
Entity
\
IntegerField
(
'MODIFIED_BY_ID'
,
array
(
72
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_MODIFIED_BY_ID'
),
73
'required'
=>
true
74
)),
75
'DATE_CREATE'
=>
new
Entity
\
DatetimeField
(
'DATE_CREATE'
,
array
(
76
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_DATE_CREATE'
),
77
'required'
=>
true
78
)),
79
'DATE_MODIFY'
=>
new
Entity
\
DatetimeField
(
'DATE_MODIFY'
,
array
(
80
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_DATE_MODIFY'
),
81
'required'
=>
true
82
))
83
);
84
}
85
}
Bitrix\Landing\Internals\CookiesAgreementTable
Определения
cookiesagreement.php:26
Bitrix\Landing\Internals\CookiesAgreementTable\getMap
static getMap()
Определения
cookiesagreement.php:40
Bitrix\Landing\Internals\CookiesAgreementTable\getTableName
static getTableName()
Определения
cookiesagreement.php:31
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
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\Entity
Определения
ufield.php:9
bitrix
modules
landing
lib
internals
cookiesagreement.php
Создано системой
1.14.0