Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
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
Definition
cookiesagreement.php:26
Bitrix\Landing\Internals\CookiesAgreementTable\getMap
static getMap()
Definition
cookiesagreement.php:40
Bitrix\Landing\Internals\CookiesAgreementTable\getTableName
static getTableName()
Definition
cookiesagreement.php:31
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Definition
integerfield.php:20
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Landing\Internals
Definition
base.php:2
modules
landing
lib
internals
cookiesagreement.php
Создано системой
1.10.0