Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
calendarlog.php
1<?php
2
3
5
9
26class CalendarLogTable extends Main\Entity\DataManager
27{
31 public static function getFilePath()
32 {
33 return __FILE__;
34 }
35
41 public static function getTableName()
42 {
43 return 'b_calendar_log';
44 }
45
50 public static function getMap()
51 {
52 return [
53 new Entity\IntegerField('ID', [
54 'primary' => true,
55 'autocomplete' => true,
56 'title' => Loc::getMessage('SYNC_DEBUG_LOG_ENTITY_ID_FIELD'),
57 ]),
58 new Entity\DatetimeField('TIMESTAMP_X', [
59 'title' => Loc::getMessage('LOG_ENTITY_TIMESTAMP_X_FIELD'),
60 ]),
61 new Entity\TextField('MESSAGE', [
62 'title' => Loc::getMessage('CALENDAR_LOG_ENTITY_MESSAGE_FIELD'),
63 ]),
64 new Entity\TextField('UUID', [
65 'title' => Loc::getMessage('CALENDAR_LOG_ENTITY_UUID_FIELD'),
66 ]),
67 new Entity\TextField('TYPE', [
68 'title' => Loc::getMessage('CALENDAR_LOG_ENTITY_TYPE_FIELD'),
69 ]),
70 new Entity\IntegerField('USER_ID', [
71 'title' => Loc::getMessage('CALENDAR_LOG_ENTITY_USER_ID_FIELD'),
72 ])
73 ];
74 }
75}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29