1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
userfieldconfirm.php
См. документацию.
1<?php
2namespace Bitrix\Main;
3
31
32class UserFieldConfirmTable extends Entity\DataManager
33{
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}
static validateConfirmCode()
Определения userfieldconfirm.php:75
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
Определения ufield.php:9