1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
UserDtoByIdMap.php
См. документацию.
1<?php
2
3namespace Bitrix\Vote\Model\Dto;
4
5use JsonSerializable;
6
8{
12 private array $map = [];
13
14 public function add(int $userId, JsonSerializable $dto): self
15 {
16 $this->map[$userId] = $dto;
17
18 return $this;
19 }
20
21 public function get(int $userId): ?JsonSerializable
22 {
23 return $this->map[$userId] ?? null;
24 }
25
29 public function toArray(): array
30 {
31 return $this->map;
32 }
33}
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
add(int $userId, JsonSerializable $dto)
Определения UserDtoByIdMap.php:14
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$map
Определения config.php:5