Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
usergroup.php
1<?php
8namespace Bitrix\Main;
9
12
13Loc::loadMessages(__FILE__);
14
31class 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}
static loadMessages($file)
Definition loc.php:64