Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
userrelations.php
1<?php
2
3namespace Bitrix\Mail;
4
7
8Localization\Loc::loadMessages(__FILE__);
9
26class 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}
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29