1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
role.php
См. документацию.
1<?php
2
3namespace Bitrix\Calendar\Core\Role;
4
5use Bitrix\Calendar\Core\Base\BaseProperty;
6
7class Role extends BaseProperty implements RoleEntityInterface
8{
10
12 {
13 $this->roleEntity = $roleEntity;
14 }
15
19 public function getFullName(): string
20 {
21 return $this->roleEntity->getFullName();
22 }
23
27 public function getId(): ?int
28 {
29 return $this->roleEntity->getId();
30 }
31
35 public function getType(): string
36 {
37 return $this->roleEntity->getType();
38 }
39
44 {
45 return $this->roleEntity;
46 }
47
51 public function getFields(): array
52 {
53 return [
54 'name',
55 'id',
56 ];
57 }
58
62 public function toString(): string
63 {
64 return $this->getFullName();
65 }
66}
getFullName()
Определения role.php:19
__construct(RoleEntityInterface $roleEntity)
Определения role.php:11
RoleEntityInterface $roleEntity
Определения role.php:9
getRoleEntity()
Определения role.php:43
getFields()
Определения role.php:51
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804