1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Password.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
6
8use Bitrix\Rest\Enum;
9
11{
12 public function __construct(
13 private int $id,
14 private readonly string $passwordString,
15 private readonly int $userId,
16 private readonly Enum\APAuth\PasswordType $type,
17 private readonly string $title = '',
18 private readonly string $comment = '',
19 private readonly DateTime $createdAt,
20 )
21 {}
22
23 public function getId(): int
24 {
25 return $this->id;
26 }
27
28 public function setId(int $id): void
29 {
30 $this->id = $id;
31 }
32
33 public function getPasswordString(): string
34 {
35 return $this->passwordString;
36 }
37
38 public function getUserId(): int
39 {
40 return $this->userId;
41 }
42
43 public function getType(): Enum\APAuth\PasswordType
44 {
45 return $this->type;
46 }
47
48 public function getTitle(): string
49 {
50 return $this->title;
51 }
52
53 public function getComment(): string
54 {
55 return $this->comment;
56 }
57
58 public function getCreatedAt(): DateTime
59 {
60 return $this->createdAt;
61 }
62}
$type
Определения options.php:106
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
__construct(private int $id, private readonly string $passwordString, private readonly int $userId, private readonly Enum\APAuth\PasswordType $type, private readonly string $title='', private readonly string $comment='', private readonly DateTime $createdAt,)
Определения Password.php:12
setId(int $id)
Определения Password.php:28
$comment
Определения template.php:15
$title
Определения pdf.php:123