1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
buttontable.php
См. документацию.
1
<?php
2
namespace
Bitrix\B24connector;
3
4
use Bitrix\Main\Entity;
5
use Bitrix\Main\Localization\Loc;
6
7
Loc::loadMessages(__FILE__);
8
36
37
class
ButtonTable
extends
Entity\DataManager
38
{
44
public
static
function
getTableName
()
45
{
46
return
'b_b24connector_buttons'
;
47
}
48
54
public
static
function
getMap
()
55
{
56
return
array
(
57
'ID'
=>
array
(
58
'data_type'
=>
'integer'
,
59
'primary'
=>
true
,
60
'autocomplete'
=>
true
,
61
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_ID_FIELD'
),
62
),
63
'APP_ID'
=>
array
(
64
'data_type'
=>
'integer'
,
65
'required'
=>
true
,
66
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_APP_ID_FIELD'
),
67
),
68
'ADD_DATE'
=>
array
(
69
'data_type'
=>
'datetime'
,
70
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_ADD_DATE_FIELD'
),
71
),
72
'ADD_BY'
=>
array
(
73
'data_type'
=>
'integer'
,
74
'required'
=>
true
,
75
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_ADD_BY_FIELD'
),
76
),
77
'NAME'
=>
array
(
78
'data_type'
=>
'string'
,
79
'validation'
=>
array
(__CLASS__,
'validateName'
),
80
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_NAME_FIELD'
),
81
),
82
'SCRIPT'
=>
array
(
83
'data_type'
=>
'text'
,
84
'title'
=> Loc::getMessage(
'B24C_BT_ENTITY_SCRIPT_FIELD'
),
85
),
86
);
87
}
88
93
public
static
function
validateName
()
94
{
95
return
array
(
96
new
Entity
\Validator\Length(
null
, 255),
97
);
98
}
99
}
Bitrix\B24connector\ButtonTable
Определения
buttontable.php:38
Bitrix\B24connector\ButtonTable\getMap
static getMap()
Определения
buttontable.php:54
Bitrix\B24connector\ButtonTable\validateName
static validateName()
Определения
buttontable.php:93
Bitrix\B24connector\ButtonTable\getTableName
static getTableName()
Определения
buttontable.php:44
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
b24connector
lib
buttontable.php
Создано системой
1.14.0