Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
placement.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
PlacementTable
extends
Entity\DataManager
26
{
31
public
static
function
getTableName
()
32
{
33
return
'b_landing_placement'
;
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
'APP_ID'
=>
new
Entity
\
IntegerField
(
'APP_ID'
, array(
49
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_APP_ID'
),
50
'required'
=>
true
51
)),
52
'PLACEMENT'
=>
new
Entity
\
StringField
(
'PLACEMENT'
, array(
53
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_PLACEMENT'
),
54
'required'
=>
true
55
)),
56
'PLACEMENT_HANDLER'
=>
new
Entity
\
StringField
(
'PLACEMENT_HANDLER'
, array(
57
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_PLACEMENT_HANDLER'
),
58
'required'
=>
true
59
)),
60
'TITLE'
=>
new
Entity
\
StringField
(
'TITLE'
, array(
61
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_PLC_TITLE'
),
62
'required'
=>
true
63
)),
64
'CREATED_BY_ID'
=>
new
Entity
\
IntegerField
(
'CREATED_BY_ID'
, array(
65
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_CREATED_BY_ID'
),
66
'required'
=>
true
67
)),
68
'MODIFIED_BY_ID'
=>
new
Entity
\
IntegerField
(
'MODIFIED_BY_ID'
, array(
69
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_MODIFIED_BY_ID'
),
70
'required'
=>
true
71
)),
72
'DATE_CREATE'
=>
new
Entity
\
DatetimeField
(
'DATE_CREATE'
, array(
73
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_CREATE'
),
74
'required'
=>
true
75
)),
76
'DATE_MODIFY'
=>
new
Entity
\
DatetimeField
(
'DATE_MODIFY'
, array(
77
'title'
=>
Loc::getMessage
(
'LANDING_TABLE_FIELD_DATE_MODIFY'
),
78
'required'
=>
true
79
))
80
);
81
}
82
}
Bitrix\Landing\Internals\PlacementTable
Definition
placement.php:26
Bitrix\Landing\Internals\PlacementTable\getMap
static getMap()
Definition
placement.php:40
Bitrix\Landing\Internals\PlacementTable\getTableName
static getTableName()
Definition
placement.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
placement.php
Создано системой
1.10.0