Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
usergroup.php
1
<?php
8
namespace
Bitrix\Main
;
9
10
use
Bitrix\Main\Entity
;
11
use
Bitrix\Main\Localization\Loc
;
12
13
Loc::loadMessages
(__FILE__);
14
31
class
UserGroupTable
extends
Entity\DataManager
32
{
33
public
static
function
getTableName
()
34
{
35
return
'b_user_group'
;
36
}
37
38
public
static
function
getMap
()
39
{
40
return
array(
41
'USER_ID'
=> array(
42
'data_type'
=>
'integer'
,
43
'primary'
=>
true
44
),
45
'USER'
=> array(
46
'data_type'
=>
'User'
,
47
'reference'
=> array(
'=this.USER_ID'
=>
'ref.ID'
)
48
),
49
'GROUP_ID'
=> array(
50
'data_type'
=>
'integer'
,
51
'primary'
=>
true
52
),
53
'GROUP'
=> array(
54
'data_type'
=>
'Group'
,
55
'reference'
=> array(
'=this.GROUP_ID'
=>
'ref.ID'
)
56
),
57
'DATE_ACTIVE_FROM'
=> array(
58
'data_type'
=>
'datetime'
,
59
),
60
'DATE_ACTIVE_TO'
=> array(
61
'data_type'
=>
'datetime'
,
62
),
63
);
64
}
65
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\UserGroupTable
Definition
usergroup.php:32
Bitrix\Main\UserGroupTable\getMap
static getMap()
Definition
usergroup.php:38
Bitrix\Main\UserGroupTable\getTableName
static getTableName()
Definition
usergroup.php:33
Bitrix\Main
modules
main
lib
usergroup.php
Создано системой
1.10.0