1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
view.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
ViewTable
extends
Entity\DataManager
26
{
31
public
static
function
getTableName
()
32
{
33
return
'b_landing_view'
;
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
'LID'
=>
new
Entity
\
IntegerField
(
'LID'
,
array
(
49
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_LID'
),
50
'required'
=>
true
51
)),
52
'USER_ID'
=>
new
Entity
\
IntegerField
(
'USER_ID'
,
array
(
53
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_USER_ID'
),
54
'required'
=>
true
55
)),
56
'VIEWS'
=>
new
Entity
\
IntegerField
(
'VIEWS'
,
array
(
57
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_VIEWS'
),
58
'required'
=>
true
59
)),
60
'FIRST_VIEW'
=>
new
Entity
\
DatetimeField
(
'FIRST_VIEW'
,
array
(
61
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_LAST_VIEW'
),
62
'required'
=>
true
63
)),
64
'LAST_VIEW'
=>
new
Entity
\
DatetimeField
(
'LAST_VIEW'
,
array
(
65
'title'
=> Loc::getMessage(
'LANDING_TABLE_FIELD_LAST_VIEW'
),
66
'required'
=>
true
67
))
68
);
69
}
70
}
Bitrix\Landing\Internals\ViewTable
Определения
view.php:26
Bitrix\Landing\Internals\ViewTable\getMap
static getMap()
Определения
view.php:40
Bitrix\Landing\Internals\ViewTable\getTableName
static getTableName()
Определения
view.php:31
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.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
view.php
Создано системой
1.14.0