1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
results.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
41
class
ResultsTable
extends
Main\Entity\DataManager
42
{
48
public
static
function
getTableName
()
49
{
50
return
'b_rating_results'
;
51
}
52
58
public
static
function
getMap
()
59
{
60
return
array
(
61
'ID'
=>
array
(
62
'data_type'
=>
'integer'
,
63
'primary'
=>
true
,
64
'autocomplete'
=>
true
,
65
'title'
=> Loc::getMessage(
'RESULTS_ENTITY_ID_FIELD'
),
66
),
67
'RATING_ID'
=>
array
(
68
'data_type'
=>
'integer'
,
69
'required'
=>
true
,
70
),
71
'ENTITY_TYPE_ID'
=>
array
(
72
'data_type'
=>
'string'
,
73
'required'
=>
true
,
74
'validation'
=>
array
(__CLASS__,
'validateEntityTypeId'
),
75
),
76
'ENTITY_ID'
=>
array
(
77
'data_type'
=>
'integer'
,
78
'required'
=>
true
,
79
),
80
'CURRENT_VALUE'
=>
array
(
81
'data_type'
=>
'float'
,
82
),
83
'PREVIOUS_VALUE'
=>
array
(
84
'data_type'
=>
'float'
,
85
),
86
'CURRENT_POSITION'
=>
array
(
87
'data_type'
=>
'integer'
,
88
),
89
'PREVIOUS_POSITION'
=>
array
(
90
'data_type'
=>
'integer'
,
91
),
92
'RATING'
=>
array
(
93
'data_type'
=> RatingTable::class,
94
'reference'
=>
array
(
'=this.RATING_ID'
=>
'ref.ID'
),
95
),
96
);
97
}
98
99
public
static
function
add
(
array
$data
)
100
{
101
throw
new
NotImplementedException
(
"Use CRatings class."
);
102
}
103
104
public
static
function
update
($primary,
array
$data
)
105
{
106
throw
new
NotImplementedException
(
"Use CRatings class."
);
107
}
108
109
public
static
function
delete
($primary)
110
{
111
throw
new
NotImplementedException
(
"Use CRatings class."
);
112
}
113
}
Bitrix\Main\NotImplementedException
Определения
NotImplementedException.php:9
Bitrix\Main\Rating\ResultsTable
Определения
results.php:42
Bitrix\Main\Rating\ResultsTable\getMap
static getMap()
Определения
results.php:58
Bitrix\Main\Rating\ResultsTable\add
static add(array $data)
Определения
results.php:99
Bitrix\Main\Rating\ResultsTable\update
static update($primary, array $data)
Определения
results.php:104
Bitrix\Main\Rating\ResultsTable\getTableName
static getTableName()
Определения
results.php:48
$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
results.php
Создано системой
1.14.0