Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
forumsite.php
1
<?php
2
namespace
Bitrix\Forum
;
3
4
use
Bitrix\Main\Entity
;
5
use
Bitrix\Main\Localization\Loc
;
6
7
Loc::loadMessages
(__FILE__);
8
36
class
ForumSiteTable
extends
\Bitrix\Main\Entity\DataManager
37
{
43
public
static
function
getTableName
()
44
{
45
return
'b_forum2site'
;
46
}
47
53
public
static
function
getMap
()
54
{
55
return
array(
56
'FORUM_ID'
=> array(
57
'data_type'
=>
'integer'
,
58
'primary'
=>
true
,
59
'title'
=>
Loc::getMessage
(
'FORUM_SITE_TABLE_FIELD_FORUM_ID'
),
60
),
61
'SITE_ID'
=> array(
62
'data_type'
=>
'string'
,
63
'primary'
=>
true
,
64
'size'
=> 2,
65
'title'
=>
Loc::getMessage
(
'FORUM_SITE_TABLE_FIELD_SITE_ID'
),
66
),
67
'PATH2FORUM_MESSAGE'
=> array(
68
'data_type'
=>
'string'
,
69
'title'
=>
Loc::getMessage
(
'FORUM_SITE_TABLE_FIELD_SITE_ID'
),
70
),
71
'FORUM'
=> array(
72
'data_type'
=>
'Bitrix\Forum\Forum'
,
73
'reference'
=> array(
'=this.FORUM_ID'
=>
'ref.ID'
)
74
),
75
'SITE'
=> array(
76
'data_type'
=>
'Bitrix\Main\Site'
,
77
'reference'
=> array(
'=this.SITE_ID'
=>
'ref.LID'
),
78
),
79
);
80
}
81
}
Bitrix\Forum\ForumSiteTable
Definition
forumsite.php:37
Bitrix\Forum\ForumSiteTable\getMap
static getMap()
Definition
forumsite.php:53
Bitrix\Forum\ForumSiteTable\getTableName
static getTableName()
Definition
forumsite.php:43
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Main\Localization\Loc\getMessage
static getMessage($code, $replace=null, $language=null)
Definition
loc.php:29
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Forum
modules
forum
lib
forumsite.php
Создано системой
1.10.0