1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Permission.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Socialnetwork\Collab\Property;
6
7use Bitrix\Main\Type\Contract\Arrayable;
8
9class Permission implements Arrayable
10{
11 public function __construct(
12 private readonly string $feature,
13 private readonly array $permissions
14 )
15 {
16 }
17
18 public function toArray(): array
19 {
20 return [$this->feature => $this->permissions];
21 }
22
23 public function isEmpty(): bool
24 {
25 return empty($this->permissions);
26 }
27}
__construct(private readonly string $feature, private readonly array $permissions)
Определения Permission.php:11
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804