Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
membershiphandlerquerytable.php
1<?php
3
7
24{
30 public static function getTableName()
31 {
32 return 'b_calendar_membership_handler_query';
33 }
34
40 public static function getMap()
41 {
42 return [
43 'ID' => new Fields\IntegerField(
44 'ID',
45 [
46 'primary' => true,
47 'autocomplete' => true,
48 'title' => Loc::getMessage('MEMBERSHIP_HANDLER_QUERY_ENTITY_ID_FIELD'),
49 ]
50 ),
51 'ENTITY_TYPE' => new Fields\StringField(
52 'ENTITY_TYPE',
53 [
54 'required' => true,
55 'validation' => [__CLASS__, 'validateEntityType'],
56 'title' => Loc::getMessage('MEMBERSHIP_HANDLER_QUERY_ENTITY_ENTITY_TYPE_FIELD'),
57 ]
58 ),
59 'ENTITY_ID' => new Fields\IntegerField(
60 'ENTITY_ID',
61 [
62 'title' => Loc::getMessage('MEMBERSHIP_HANDLER_QUERY_ENTITY_ENTITY_ID_FIELD'),
63 ]
64 ),
65 'CREATION_TIMESTAMP_UTC' => new Fields\IntegerField(
66 'CREATION_TIMESTAMP_UTC',
67 [
68 'title' => Loc::getMessage('MEMBERSHIP_HANDLER_QUERY_ENTITY_CREATION_TIMESTAMP_UTC_FIELD'),
69 ]
70 ),
71 'LAST_UPDATED_EVENT_ID' => new Fields\IntegerField(
72 'LAST_UPDATED_EVENT_ID',
73 [
74 'title' => Loc::getMessage('MEMBERSHIP_HANDLER_QUERY_ENTITY_LAST_UPDATED_EVENT_ID_FIELD'),
75 ]
76 ),
77 ];
78 }
79
85 public static function validateEntityType(): array
86 {
87 return [
89 ];
90 }
91}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29