1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
group.php
См. документацию.
1<?php
2
4
8
9final class Group implements Arrayable
10{
11 private int $id;
12 private string $name;
13 private int $imageId;
14
15 public function __construct(Workgroup $group)
16 {
17 $this->id = $group->getId();
18 $this->name = $group->getName();
19 $this->imageId = $group->getImageId();
20 }
21
22 private function getAvatarLink(): ?string
23 {
24 return Collabs::getInstance()->getCollabImagePath($this->imageId);
25 }
26
27 public function toArray(): array
28 {
29 return [
30 'id' => $this->id,
31 'name' => $this->name,
32 'lastName' => null,
33 'avatar' => $this->getAvatarLink(),
34 ];
35 }
36}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$name
Определения menu_edit.php:35