1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
comment.php
См. документацию.
1
<?php
8
namespace
Bitrix\Blog;
9
10
use Bitrix\Main\Entity;
11
use Bitrix\Main\NotImplementedException;
12
29
class
CommentTable
extends
Entity\DataManager
30
{
31
public
static
function
getTableName
()
32
{
33
return
'b_blog_comment'
;
34
}
35
36
public
static
function
getUfId
()
37
{
38
return
'BLOG_COMMENT'
;
39
}
40
41
public
static
function
getMap
()
42
{
43
$fieldsMap =
array
(
44
'ID'
=>
array
(
45
'data_type'
=>
'integer'
,
46
'primary'
=>
true
,
47
'autocomplete'
=>
true
,
48
),
49
'BLOG_ID'
=>
array
(
50
'data_type'
=>
'integer'
51
),
52
'POST_ID'
=>
array
(
53
'data_type'
=>
'integer'
54
),
55
'POST'
=>
array
(
56
'data_type'
=>
'\Bitrix\Blog\Post'
,
57
'reference'
=>
array
(
'=this.POST_ID'
=>
'ref.ID'
)
58
),
59
'PARENT_ID'
=>
array
(
60
'data_type'
=>
'integer'
61
),
62
'AUTHOR_ID'
=>
array
(
63
'data_type'
=>
'integer'
64
),
65
'ICON_ID'
=>
array
(
66
'data_type'
=>
'integer'
67
),
68
'AUTHOR_NAME'
=>
array
(
69
'data_type'
=>
'string'
70
),
71
'AUTHOR_EMAIL'
=>
array
(
72
'data_type'
=>
'string'
73
),
74
'AUTHOR_IP'
=>
array
(
75
'data_type'
=>
'string'
76
),
77
'AUTHOR_IP1'
=>
array
(
78
'data_type'
=>
'string'
79
),
80
'DATE_CREATE'
=>
array
(
81
'data_type'
=>
'datetime'
82
),
83
'TITLE'
=>
array
(
84
'data_type'
=>
'string'
85
),
86
'POST_TEXT'
=>
array
(
87
'data_type'
=>
'text'
,
88
),
89
'PUBLISH_STATUS'
=>
array
(
90
'data_type'
=>
'string'
,
91
),
92
'HAS_PROPS'
=>
array
(
93
'data_type'
=>
'string'
,
94
'values'
=>
array
(
'N'
,
'Y'
)
95
),
96
'SHARE_DEST'
=>
array
(
97
'data_type'
=>
'string'
,
98
),
99
'PATH'
=>
array
(
100
'data_type'
=>
'string'
,
101
),
102
);
103
104
return
$fieldsMap;
105
}
106
107
public
static
function
add
(
array
$data
)
108
{
109
throw
new
NotImplementedException
(
"Use CBlogComment class."
);
110
}
111
112
public
static
function
update
($primary,
array
$data
)
113
{
114
throw
new
NotImplementedException
(
"Use CBlogComment class."
);
115
}
116
117
public
static
function
delete
($primary)
118
{
119
throw
new
NotImplementedException
(
"Use CBlogComment class."
);
120
}
121
}
Bitrix\Blog\CommentTable
Определения
comment.php:30
Bitrix\Blog\CommentTable\getMap
static getMap()
Определения
comment.php:41
Bitrix\Blog\CommentTable\getUfId
static getUfId()
Определения
comment.php:36
Bitrix\Blog\CommentTable\add
static add(array $data)
Определения
comment.php:107
Bitrix\Blog\CommentTable\update
static update($primary, array $data)
Определения
comment.php:112
Bitrix\Blog\CommentTable\getTableName
static getTableName()
Определения
comment.php:31
Bitrix\Main\NotImplementedException
Определения
NotImplementedException.php:9
$data
$data['IS_AVAILABLE']
Определения
.description.php:13
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
modules
blog
lib
comment.php
Создано системой
1.14.0