1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
timemanentryentity.php
См. документацию.
1<?php
2
3namespace Bitrix\Forum\Comments;
4
5final 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}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
Определения timemanentryentity.php:6
canEdit($userId)
Определения timemanentryentity.php:41
const XML_ID_PREFIX
Определения timemanentryentity.php:9
const MODULE_ID
Определения timemanentryentity.php:8
canRead($userId)
Определения timemanentryentity.php:15
canAdd($userId)
Определения timemanentryentity.php:23
const ENTITY_TYPE
Определения timemanentryentity.php:7
canEditOwn($userId)
Определения timemanentryentity.php:32
Определения ufield.php:9