1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
channeltable.php
См. документацию.
1
<?php
2
namespace
Bitrix\Pull\Model;
3
4
use Bitrix\Pull\Internals\UpdateByFilterTrait;
5
use Bitrix\Main;
6
36
37
class
ChannelTable
extends
Main\Entity\DataManager
38
{
39
use Main\ORM\Data\Internal\MergeTrait;
40
use UpdateByFilterTrait;
41
47
public
static
function
getTableName
()
48
{
49
return
'b_pull_channel'
;
50
}
51
57
public
static
function
getMap
()
58
{
59
return
array
(
60
'ID'
=>
array
(
61
'data_type'
=>
'integer'
,
62
'primary'
=>
true
,
63
'autocomplete'
=>
true
,
64
),
65
'USER_ID'
=>
array
(
66
'data_type'
=>
'integer'
,
67
'required'
=>
true
,
68
),
69
'CHANNEL_TYPE'
=>
array
(
70
'data_type'
=>
'string'
,
71
'validation'
=>
array
(__CLASS__,
'validateChannelType'
),
72
),
73
'CHANNEL_ID'
=>
array
(
74
'data_type'
=>
'string'
,
75
'required'
=>
true
,
76
'validation'
=>
array
(__CLASS__,
'validateChannelId'
),
77
),
78
'CHANNEL_PUBLIC_ID'
=>
array
(
79
'data_type'
=>
'string'
,
80
'validation'
=>
array
(__CLASS__,
'validateChannelId'
),
81
),
82
'LAST_ID'
=>
array
(
83
'data_type'
=>
'integer'
,
84
),
85
'DATE_CREATE'
=>
array
(
86
'data_type'
=>
'datetime'
,
87
'required'
=>
true
,
88
'default_value'
=>
array
(__CLASS__,
'getCurrentDate'
),
89
),
90
'USER'
=>
array
(
91
'data_type'
=>
'Bitrix\Main\UserTable'
,
92
'reference'
=>
array
(
'=this.USER_ID'
=>
'ref.ID'
),
93
'join_type'
=>
'INNER'
,
94
),
95
);
96
}
97
102
public
static
function
validateChannelType
()
103
{
104
return
array
(
105
new
Main
\
Entity
\Validator\Length(
null
, 50),
106
);
107
}
108
113
public
static
function
validateChannelId
()
114
{
115
return
array
(
116
new
Main
\
Entity
\Validator\Length(
null
, 50),
117
);
118
}
119
123
public
static
function
getCurrentDate
():
Main
\
Type
\
DateTime
124
{
125
return
new
Main\Type\DateTime
();
126
}
127
}
128
129
class_alias(
"Bitrix\\Pull\\Model\\ChannelTable"
,
"Bitrix\\Pull\\ChannelTable"
,
false
);
Bitrix\Main\Type\DateTime
Определения
datetime.php:9
Bitrix\Pull\Model\ChannelTable
Определения
channeltable.php:38
Bitrix\Pull\Model\ChannelTable\getCurrentDate
static getCurrentDate()
Определения
channeltable.php:123
Bitrix\Pull\Model\ChannelTable\getMap
static getMap()
Определения
channeltable.php:57
Bitrix\Pull\Model\ChannelTable\validateChannelType
static validateChannelType()
Определения
channeltable.php:102
Bitrix\Pull\Model\ChannelTable\validateChannelId
static validateChannelId()
Определения
channeltable.php:113
Bitrix\Pull\Model\ChannelTable\getTableName
static getTableName()
Определения
channeltable.php:47
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\Main\Type
Определения
collection.php:2
Bitrix\Main
bitrix
modules
pull
lib
model
channeltable.php
Создано системой
1.14.0