Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
timemanentryentity.php
1
<?php
2
3
namespace
Bitrix\Forum\Comments
;
4
5
final
class
TimemanEntryEntity
extends
Entity
6
{
7
const
ENTITY_TYPE
=
'tm'
;
8
const
MODULE_ID
=
'timeman'
;
9
const
XML_ID_PREFIX
=
'TIMEMAN_ENTRY_'
;
10
15
public
function
canRead
($userId)
16
{
17
return
true
;
18
}
23
public
function
canAdd
($userId)
24
{
25
return
$this->
canRead
($userId);
26
}
27
32
public
function
canEditOwn
($userId)
33
{
34
return
true
;
35
}
36
41
public
function
canEdit
($userId)
42
{
43
return
false
;
44
}
45
}
Bitrix\Forum\Comments\Entity
Definition
entity.php:11
Bitrix\Forum\Comments\TimemanEntryEntity
Definition
timemanentryentity.php:6
Bitrix\Forum\Comments\TimemanEntryEntity\canEdit
canEdit($userId)
Definition
timemanentryentity.php:41
Bitrix\Forum\Comments\TimemanEntryEntity\XML_ID_PREFIX
const XML_ID_PREFIX
Definition
timemanentryentity.php:9
Bitrix\Forum\Comments\TimemanEntryEntity\MODULE_ID
const MODULE_ID
Definition
timemanentryentity.php:8
Bitrix\Forum\Comments\TimemanEntryEntity\canRead
canRead($userId)
Definition
timemanentryentity.php:15
Bitrix\Forum\Comments\TimemanEntryEntity\canAdd
canAdd($userId)
Definition
timemanentryentity.php:23
Bitrix\Forum\Comments\TimemanEntryEntity\ENTITY_TYPE
const ENTITY_TYPE
Definition
timemanentryentity.php:7
Bitrix\Forum\Comments\TimemanEntryEntity\canEditOwn
canEditOwn($userId)
Definition
timemanentryentity.php:32
Bitrix\Forum\Comments
Definition
baseobject.php:3
modules
forum
lib
comments
timemanentryentity.php
Создано системой
1.10.0