Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
lognotificationactiontable.php
1
<?php
9
namespace
Bitrix\Main\EventLog\Internal
;
10
11
use
Bitrix\Main\ORM\Data
;
12
use
Bitrix\Main\ORM\Fields
;
13
use
Bitrix\Main\ORM\Query
;
14
use
Bitrix\Main\Localization\Loc
;
15
32
class
LogNotificationActionTable
extends
Data\DataManager
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
}
Bitrix\Main\EventLog\Internal\LogNotificationActionTable
Definition
lognotificationactiontable.php:33
Bitrix\Main\EventLog\Internal\LogNotificationActionTable\getMap
static getMap()
Definition
lognotificationactiontable.php:39
Bitrix\Main\EventLog\Internal\LogNotificationActionTable\getTableName
static getTableName()
Definition
lognotificationactiontable.php:34
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Fields\Relations\Reference
Definition
reference.php:26
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Fields\TextField
Definition
textfield.php:20
Bitrix\Main\ORM\Query\Query
Definition
query.php:118
Bitrix\Main\EventLog\Internal
Definition
eventlogtable.php:9
Bitrix\Main\ORM\Data
Definition
addresult.php:9
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
Bitrix\Main\ORM\Query
Definition
chain.php:3
modules
main
lib
eventlog
internal
lognotificationactiontable.php
Создано системой
1.10.0