Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
userhitauthtable.php
1
<?php
2
10
namespace
Bitrix\Main\Authentication\Internal
;
11
12
use
Bitrix\Main
;
13
use
Bitrix\Main\ORM\Data
;
14
use
Bitrix\Main\ORM\Fields
;
15
use
Bitrix\Main\ORM\Query\Join
;
16
33
class
UserHitAuthTable
extends
Data\DataManager
34
{
35
use Data\Internal\DeleteByFilterTrait;
36
37
public
static
function
getTableName
()
38
{
39
return
'b_user_hit_auth'
;
40
}
41
42
public
static
function
getMap
()
43
{
44
return
[
45
(
new
Fields\IntegerField(
'ID'
))
46
->configurePrimary(
true
)
47
->configureAutocomplete(
true
),
48
49
(
new
Fields\IntegerField(
'USER_ID'
))
50
->addValidator(
new
Fields\Validators\ForeignValidator(Main\
UserTable::getEntity
()->getField(
'ID'
))),
51
52
(
new
Fields\
StringField
(
'HASH'
)),
53
54
(
new
Fields\
StringField
(
'URL'
)),
55
56
(
new
Fields\
StringField
(
'SITE_ID'
)),
57
58
(
new
Fields\
DatetimeField
(
'TIMESTAMP_X'
)),
59
60
(
new
Fields\
DatetimeField
(
'VALID_UNTIL'
)),
61
62
(
new
Fields\Relations\
Reference
(
63
'USER'
,
64
Main\UserTable::class,
65
Join::on(
'this.USER_ID'
,
'ref.ID'
)
66
))->configureJoinType(Join::TYPE_INNER),
67
];
68
}
69
}
Bitrix\Main\Authentication\Internal\UserHitAuthTable
Definition
userhitauthtable.php:34
Bitrix\Main\Authentication\Internal\UserHitAuthTable\getMap
static getMap()
Definition
userhitauthtable.php:42
Bitrix\Main\Authentication\Internal\UserHitAuthTable\getTableName
static getTableName()
Definition
userhitauthtable.php:37
Bitrix\Main\ORM\Data\DataManager
Definition
datamanager.php:33
Bitrix\Main\ORM\Data\DataManager\getEntity
static getEntity()
Definition
datamanager.php:78
Bitrix\Main\ORM\Fields\DatetimeField
Definition
datetimefield.php:22
Bitrix\Main\ORM\Fields\Relations\Reference
Definition
reference.php:26
Bitrix\Main\ORM\Fields\StringField
Definition
stringfield.php:20
Bitrix\Main\ORM\Query\Join
Definition
join.php:19
Bitrix\Main\Authentication\Internal
Definition
groupsubordinatetable.php:10
Bitrix\Main\ORM\Data
Definition
addresult.php:9
Bitrix\Main\ORM\Fields
Definition
arrayfield.php:9
Bitrix\Main
modules
main
lib
authentication
internal
userhitauthtable.php
Создано системой
1.10.0