1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
userfieldconfirm.php
См. документацию.
1
<?php
2
namespace
Bitrix\Main;
3
31
32
class
UserFieldConfirmTable
extends
Entity\DataManager
33
{
34
const
MAX_ATTEMPTS_COUNT
= 3;
35
public
static
function
getTableName
()
36
{
37
return
'b_user_field_confirm'
;
38
}
39
40
public
static
function
getMap
()
41
{
42
return
array
(
43
'ID'
=>
array
(
44
'data_type'
=>
'integer'
,
45
'primary'
=>
true
,
46
'autocomplete'
=>
true
,
47
),
48
'USER_ID'
=>
array
(
49
'data_type'
=>
'integer'
,
50
'required'
=>
true
,
51
),
52
'DATE_CHANGE'
=>
array
(
53
'data_type'
=>
'datetime'
,
54
),
55
'FIELD'
=>
array
(
56
'data_type'
=>
'string'
,
57
'required'
=>
true
,
58
),
59
'FIELD_VALUE'
=>
array
(
60
'data_type'
=>
'string'
,
61
'required'
=>
true
,
62
),
63
'CONFIRM_CODE'
=>
array
(
64
'data_type'
=>
'string'
,
65
'required'
=>
true
,
66
'validation'
=>
array
(__CLASS__,
'validateConfirmCode'
),
67
),
68
"ATTEMPTS"
=>
array
(
69
'data_type'
=>
'integer'
,
70
"default_value"
=> 0,
71
),
72
);
73
}
74
75
public
static
function
validateConfirmCode
()
76
{
77
return
array
(
78
new
Entity
\Validator\Length(
null
, 32),
79
);
80
}
81
}
Bitrix\Main\UserFieldConfirmTable
Определения
userfieldconfirm.php:33
Bitrix\Main\UserFieldConfirmTable\getMap
static getMap()
Определения
userfieldconfirm.php:40
Bitrix\Main\UserFieldConfirmTable\validateConfirmCode
static validateConfirmCode()
Определения
userfieldconfirm.php:75
Bitrix\Main\UserFieldConfirmTable\MAX_ATTEMPTS_COUNT
const MAX_ATTEMPTS_COUNT
Определения
userfieldconfirm.php:34
Bitrix\Main\UserFieldConfirmTable\getTableName
static getTableName()
Определения
userfieldconfirm.php:35
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Entity
Определения
ufield.php:9
bitrix
modules
main
lib
userfieldconfirm.php
Создано системой
1.14.0