Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
lognotificationactiontable.php
1<?php
10
15
33{
34 public static function getTableName()
35 {
36 return 'b_log_notification_action';
37 }
38
39 public static function getMap()
40 {
41 return [
42 (new Fields\IntegerField("ID"))
43 ->configurePrimary(true)
44 ->configureAutocomplete(true),
45 (new Fields\IntegerField("NOTIFICATION_ID")),
46 (new Fields\StringField("NOTIFICATION_TYPE"))
47 ->configureRequired(true)
48 ->configureTitle(Loc::getMessage("log_notification_action_type")),
49 (new Fields\StringField("RECIPIENT")),
50 (new Fields\TextField("ADDITIONAL_TEXT")),
51 (new Fields\Relations\Reference(
52 'NOTIFICATION',
53 LogNotificationTable::class,
54 Query\Join::on('this.NOTIFICATION_ID', 'ref.ID')
55 ))
56 ->configureJoinType(Query\Join::TYPE_INNER),
57 ];
58 }
59}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29