1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
}
19
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
}
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Forum\Comments\TimemanEntryEntity
Определения
timemanentryentity.php:6
Bitrix\Forum\Comments\TimemanEntryEntity\canEdit
canEdit($userId)
Определения
timemanentryentity.php:41
Bitrix\Forum\Comments\TimemanEntryEntity\XML_ID_PREFIX
const XML_ID_PREFIX
Определения
timemanentryentity.php:9
Bitrix\Forum\Comments\TimemanEntryEntity\MODULE_ID
const MODULE_ID
Определения
timemanentryentity.php:8
Bitrix\Forum\Comments\TimemanEntryEntity\canRead
canRead($userId)
Определения
timemanentryentity.php:15
Bitrix\Forum\Comments\TimemanEntryEntity\canAdd
canAdd($userId)
Определения
timemanentryentity.php:23
Bitrix\Forum\Comments\TimemanEntryEntity\ENTITY_TYPE
const ENTITY_TYPE
Определения
timemanentryentity.php:7
Bitrix\Forum\Comments\TimemanEntryEntity\canEditOwn
canEditOwn($userId)
Определения
timemanentryentity.php:32
Bitrix\Main\Entity
Определения
ufield.php:9
bitrix
modules
forum
lib
comments
timemanentryentity.php
Создано системой
1.14.0