1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
alias.php
См. документацию.
1
<?php
2
namespace
Bitrix\Im\Model
;
3
4
use
Bitrix\Main
;
5
use Bitrix\Main\ORM\Data\Internal\DeleteByFilterTrait;
6
use
Bitrix\Main\ORM\Fields\ExpressionField
;
7
34
35
class
AliasTable
extends
Main\Entity\DataManager
36
{
37
use DeleteByFilterTrait;
38
44
public
static
function
getTableName
()
45
{
46
return
'b_im_alias'
;
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('ALIAS_ENTITY_ID_FIELD'),
62
),
63
'ALIAS'
=>
array
(
64
'data_type'
=>
'string'
,
65
'required'
=>
true
,
66
'validation'
=>
array
(__CLASS__,
'validateAlias'
),
67
//'title' => Loc::getMessage('ALIAS_ENTITY_ALIAS_FIELD'),
68
),
69
'DATE_CREATE'
=>
array
(
70
'data_type'
=>
'datetime'
,
71
'required'
=>
true
,
72
//'title' => Loc::getMessage('ALIAS_ENTITY_ENTITY_DATE_CREATE_FIELD'),
73
),
74
'ENTITY_TYPE'
=>
array
(
75
'data_type'
=>
'string'
,
76
'required'
=>
true
,
77
'validation'
=>
array
(__CLASS__,
'validateEntityType'
),
78
//'title' => Loc::getMessage('ALIAS_ENTITY_ENTITY_TYPE_FIELD'),
79
),
80
'ENTITY_ID'
=>
array
(
81
'data_type'
=>
'integer'
,
82
'required'
=>
true
,
83
//'title' => Loc::getMessage('ALIAS_ENTITY_ENTITY_ID_FIELD'),
84
),
85
);
86
}
87
92
public
static
function
validateAlias
()
93
{
94
return
array
(
95
new
Main
\
Entity
\Validator\Length(
null
, 255),
96
);
97
}
98
103
public
static
function
validateEntityType
()
104
{
105
return
array
(
106
new
Main
\
Entity
\Validator\Length(
null
, 255),
107
);
108
}
109
113
public
static
function
deleteBatch
(
array
$filter
, $limit = 0)
114
{
115
static::deleteByFilter(
$filter
);
116
}
117
}
Bitrix\Im\Model\AliasTable
Определения
alias.php:36
Bitrix\Im\Model\AliasTable\deleteBatch
static deleteBatch(array $filter, $limit=0)
Определения
alias.php:113
Bitrix\Im\Model\AliasTable\getMap
static getMap()
Определения
alias.php:54
Bitrix\Im\Model\AliasTable\validateEntityType
static validateEntityType()
Определения
alias.php:103
Bitrix\Im\Model\AliasTable\validateAlias
static validateAlias()
Определения
alias.php:92
Bitrix\Im\Model\AliasTable\getTableName
static getTableName()
Определения
alias.php:44
Bitrix\Main\ORM\Fields\ExpressionField
Определения
expressionfield.php:25
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$filter
$filter
Определения
iblock_catalog_list.php:54
Bitrix\Im\Model
Определения
alias.php:2
Bitrix\Main\Entity
Определения
ufield.php:9
Bitrix\Main
bitrix
modules
im
lib
model
alias.php
Создано системой
1.14.0