1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
userhitauthtable.php
См. документацию.
1
<?php
2
9
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
Определения
userhitauthtable.php:34
Bitrix\Main\Authentication\Internal\UserHitAuthTable\getMap
static getMap()
Определения
userhitauthtable.php:42
Bitrix\Main\Authentication\Internal\UserHitAuthTable\getTableName
static getTableName()
Определения
userhitauthtable.php:37
Bitrix\Main\ORM\Data\DataManager
Определения
datamanager.php:35
Bitrix\Main\ORM\Data\DataManager\getEntity
static getEntity()
Определения
datamanager.php:65
Bitrix\Main\ORM\Fields\DatetimeField
Определения
datetimefield.php:22
Bitrix\Main\ORM\Fields\IntegerField
Определения
integerfield.php:20
Bitrix\Main\ORM\Fields\Relations\Reference
Определения
reference.php:26
Bitrix\Main\ORM\Fields\StringField
Определения
stringfield.php:20
Bitrix\Main\ORM\Fields\Relations
Определения
cascadepolicy.php:9
Bitrix\Main\ORM\Fields\Validators
Определения
booleanvalidator.php:9
Bitrix\Main\ORM\Fields
Определения
arrayfield.php:9
Bitrix\Main
bitrix
modules
main
lib
authentication
internal
userhitauthtable.php
Создано системой
1.14.0