Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
calendarlogtable.php
1<?php
2
4
11
28class CalendarLogTable extends Main\Entity\DataManager
29{
33 public static function getFilePath()
34 {
35 return __FILE__;
36 }
37
43 public static function getTableName()
44 {
45 return 'b_calendar_log';
46 }
47
52 public static function getMap()
53 {
54 return [
55 (new IntegerField('ID'))
56 ->configureTitle(Loc::getMessage('LOG_ENTITY_ID_FIELD'))
57 ->configurePrimary(true)
58 ->configureAutocomplete(true)
59 ,
60 (new DatetimeField('TIMESTAMP_X'))
61 ->configureTitle(Loc::getMessage('LOG_ENTITY_TIMESTAMP_X_FIELD'))
62 ,
63 (new TextField('MESSAGE'))
64 ->configureTitle(Loc::getMessage('LOG_ENTITY_MESSAGE_FIELD'))
65 ,
66 (new StringField('TYPE'))
67 ->configureTitle(Loc::getMessage('LOG_ENTITY_TYPE_FIELD'))
68 ,
69 (new StringField('UUID'))
70 ->configureTitle(Loc::getMessage('LOG_ENTITY_UUID_FIELD'))
71 ,
72 (new IntegerField('USER_ID'))
73 ->configureTitle(Loc::getMessage('LOG_ENTITY_USER_ID_FIELD'))
74 ,
75 ];
76 }
77}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29