Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
report.php
1
<?php
8
namespace
Bitrix\Report
;
9
10
use
Bitrix\Main\Entity
;
11
use
Bitrix\Main\Localization\Loc
;
12
use
Bitrix\Main\Type\DateTime
;
13
14
Loc::loadMessages
(__FILE__);
15
32
class
ReportTable
extends
Entity\DataManager
33
{
38
public
static
function
getMap
()
39
{
40
$fieldsMap = array(
41
'ID'
=> array(
42
'data_type'
=>
'integer'
,
43
'primary'
=>
true
44
),
45
'OWNER_ID'
=> array(
46
'data_type'
=>
'string'
47
),
48
'TITLE'
=> array(
49
'data_type'
=>
'string'
50
),
51
'DESCRIPTION'
=> array(
52
'data_type'
=>
'string'
53
),
54
'CREATED_DATE'
=> array(
55
'data_type'
=>
'datetime'
,
56
'default_value'
=>
new
DateTime
(),
57
),
58
'CREATED_BY'
=> array(
59
'data_type'
=>
'integer'
60
),
61
'CREATED_BY_USER'
=> array(
62
'data_type'
=>
'Bitrix\Main\User'
,
63
'reference'
=> array(
'=this.CREATED_BY'
=>
'ref.ID'
)
64
),
65
'SETTINGS'
=> array(
66
'data_type'
=>
'string'
67
),
68
'MARK_DEFAULT'
=> array(
69
'data_type'
=>
'integer'
70
)
71
);
72
73
return
$fieldsMap;
74
}
75
76
}
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Report\ReportTable
Definition
report.php:33
Bitrix\Report\ReportTable\getMap
static getMap()
Definition
report.php:38
Bitrix\Report
modules
report
lib
report.php
Создано системой
1.10.0