Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
forummessageconnector.php
1
<?php
2
namespace
Bitrix\Vote\Attachment
;
3
4
use
Bitrix\Main\Loader
;
5
use
Bitrix\Main\Localization\Loc
;
6
7
Loc::loadMessages
(__FILE__);
8
9
final
class
ForumMessageConnector
extends
Connector
10
{
11
protected
static
$messages
= array();
12
protected
static
$topics
= array();
13
14
private
$canRead =
null
;
15
16
21
public
function
canRead
($userId)
22
{
23
return
$this->canRead;
24
}
25
30
public
function
canEdit
($userId)
31
{
32
return
$this->
canRead
($userId);
33
}
34
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Main\Localization\Loc
Definition
loc.php:11
Bitrix\Main\Localization\Loc\loadMessages
static loadMessages($file)
Definition
loc.php:64
Bitrix\Vote\Attachment\Connector
Definition
connector.php:11
Bitrix\Vote\Attachment\ForumMessageConnector
Definition
forummessageconnector.php:10
Bitrix\Vote\Attachment\ForumMessageConnector\canEdit
canEdit($userId)
Definition
forummessageconnector.php:30
Bitrix\Vote\Attachment\ForumMessageConnector\$messages
static $messages
Definition
forummessageconnector.php:11
Bitrix\Vote\Attachment\ForumMessageConnector\canRead
canRead($userId)
Definition
forummessageconnector.php:21
Bitrix\Vote\Attachment\ForumMessageConnector\$topics
static $topics
Definition
forummessageconnector.php:12
Bitrix\Vote\Attachment
Definition
blogpostconnector.php:2
modules
vote
lib
attachment
forummessageconnector.php
Создано системой
1.10.0