Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
userrelations.php
1
<?php
2
3
namespace
Bitrix\Mail
;
4
5
use
Bitrix\Main\Entity
;
6
use
Bitrix\Main\Localization
;
7
8
Localization\Loc::loadMessages(__FILE__);
9
26
class
UserRelationsTable
extends
Entity\DataManager
27
{
28
29
public
static
function
getFilePath
()
30
{
31
return
__FILE__;
32
}
33
34
public
static
function
getTableName
()
35
{
36
return
'b_mail_user_relations'
;
37
}
38
39
public
static
function
getMap
()
40
{
41
return
array(
42
'TOKEN'
=> array(
43
'data_type'
=>
'string'
,
44
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_token_field'
),
45
'primary'
=>
true
46
),
47
'SITE_ID'
=> array(
48
'data_type'
=>
'string'
,
49
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_site_field'
)
50
),
51
'USER_ID'
=> array(
52
'data_type'
=>
'integer'
,
53
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_user_id_field'
),
54
'required'
=>
true
55
),
56
'ENTITY_TYPE'
=> array(
57
'data_type'
=>
'string'
,
58
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_entity_type_field'
),
59
'required'
=>
true
60
),
61
'ENTITY_ID'
=> array(
62
'data_type'
=>
'integer'
,
63
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_entity_id_field'
),
64
),
65
'ENTITY_LINK'
=> array(
66
'data_type'
=>
'string'
,
67
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_entity_link_field'
),
68
),
69
'BACKURL'
=> array(
70
'data_type'
=>
'string'
,
71
'title'
=> Localization\
Loc::getMessage
(
'mail_ur_entity_backurl_field'
),
72
),
73
'USER'
=> array(
74
'data_type'
=>
'Bitrix\Main\User'
,
75
'reference'
=> array(
'=this.USER_ID'
=>
'ref.ID'
),
76
),
77
);
78
}
79
80
}
Bitrix\Mail\UserRelationsTable
Definition
userrelations.php:27
Bitrix\Mail\UserRelationsTable\getMap
static getMap()
Definition
userrelations.php:39
Bitrix\Mail\UserRelationsTable\getFilePath
static getFilePath()
Definition
userrelations.php:29
Bitrix\Mail\UserRelationsTable\getTableName
static getTableName()
Definition
userrelations.php:34
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Mail
Definition
blacklist.php:3
Bitrix\Main\Localization
Definition
culture.php:8
modules
mail
lib
userrelations.php
Создано системой
1.10.0