1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
rating.php
См. документацию.
1
<?
2
namespace
Bitrix\Main\Rating;
3
4
use Bitrix\Main;
5
use Bitrix\Main\Localization\Loc;
6
use Bitrix\Main\NotImplementedException;
7
8
Loc::loadMessages(__FILE__);
9
44
45
class
RatingTable
extends
Main\Entity\DataManager
46
{
52
public
static
function
getTableName
()
53
{
54
return
'b_rating'
;
55
}
56
62
public
static
function
getMap
()
63
{
64
return
array
(
65
'ID'
=>
array
(
66
'data_type'
=>
'integer'
,
67
'primary'
=>
true
,
68
'autocomplete'
=>
true
,
69
),
70
'ACTIVE'
=>
array
(
71
'data_type'
=>
'string'
,
72
'required'
=>
true
,
73
'validation'
=>
array
(__CLASS__,
'validateActive'
),
74
),
75
'NAME'
=>
array
(
76
'data_type'
=>
'string'
,
77
'required'
=>
true
,
78
'validation'
=>
array
(__CLASS__,
'validateName'
),
79
),
80
'ENTITY_ID'
=>
array
(
81
'data_type'
=>
'string'
,
82
'required'
=>
true
,
83
'validation'
=>
array
(__CLASS__,
'validateEntityId'
),
84
),
85
'CALCULATION_METHOD'
=>
array
(
86
'data_type'
=>
'string'
,
87
'required'
=>
true
,
88
'validation'
=>
array
(__CLASS__,
'validateCalculationMethod'
),
89
),
90
'CREATED'
=>
array
(
91
'data_type'
=>
'datetime'
,
92
),
93
'LAST_MODIFIED'
=>
array
(
94
'data_type'
=>
'datetime'
,
95
),
96
'LAST_CALCULATED'
=>
array
(
97
'data_type'
=>
'datetime'
,
98
),
99
'POSITION'
=>
array
(
100
'data_type'
=>
'boolean'
,
101
'values'
=>
array
(
'N'
,
'Y'
),
102
),
103
'AUTHORITY'
=>
array
(
104
'data_type'
=>
'boolean'
,
105
'values'
=>
array
(
'N'
,
'Y'
),
106
),
107
'CALCULATED'
=>
array
(
108
'data_type'
=>
'boolean'
,
109
'values'
=>
array
(
'N'
,
'Y'
),
110
),
111
'CONFIGS'
=>
array
(
112
'data_type'
=>
'text'
,
113
),
114
);
115
}
116
117
public
static
function
add
(
array
$data
)
118
{
119
throw
new
NotImplementedException
(
"Use CRatings class."
);
120
}
121
122
public
static
function
update
($primary,
array
$data
)
123
{
124
throw
new
NotImplementedException
(
"Use CRatings class."
);
125
}
126
127
public
static
function
delete
($primary)
128
{
129
throw
new
NotImplementedException
(
"Use CRatings class."
);
130
}
131
}
Bitrix\Main\NotImplementedException
Определения
NotImplementedException.php:9
Bitrix\Main\Rating\RatingTable
Определения
rating.php:46
Bitrix\Main\Rating\RatingTable\getMap
static getMap()
Определения
rating.php:62
Bitrix\Main\Rating\RatingTable\add
static add(array $data)
Определения
rating.php:117
Bitrix\Main\Rating\RatingTable\update
static update($primary, array $data)
Определения
rating.php:122
Bitrix\Main\Rating\RatingTable\getTableName
static getTableName()
Определения
rating.php:52
$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
main
lib
rating
rating.php
Создано системой
1.14.0