-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresult.php
More file actions
47 lines (38 loc) · 1.11 KB
/
result.php
File metadata and controls
47 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
if (!class_exists('\Bitrix\Main\Entity\DataManager')) {
return;
}
class XScanResultTable extends \Bitrix\Main\Entity\DataManager
{
public static function getTableName()
{
return 'b_xscan_results';
}
public static function getMap()
{
return array(
new \Bitrix\Main\Entity\IntegerField('id', array('primary' => true, 'autocomplete' => true)),
new \Bitrix\Main\Entity\EnumField('type', array(
'values' => array('file', 'agent', 'event'),
'default_value' => 'file'
)),
new \Bitrix\Main\Entity\StringField('src'),
new \Bitrix\Main\Entity\StringField('message'),
new \Bitrix\Main\Entity\FloatField('score'),
);
}
public static function getCollectionClass()
{
return XScanResults::class;
}
public static function getObjectClass()
{
return XScanResult::class;
}
}
class XScanResults /*extends EO_XScanResult_Collection*/ // ATLANT fix (class not found)
{
}
class XScanResult /*extends EO_XScanResult*/ // ATLANT fix (class not found)
{
}