ILIAS  release_8 Revision v8.24
class.ilECSRemoteUser.php
Go to the documentation of this file.
1<?php
2
18declare(strict_types=1);
19
25{
26 private int $eru_id;
27 private int $sid;
28 private int $mid;
29 private int $usr_id;
30 private string $remote_usr_id;
31
32
36 public function __construct(
37 int $eru_id,
38 int $sid,
39 int $mid,
40 int $usr_id,
41 string $remote_usr_id
42 ) {
43 $this->eru_id = $eru_id;
44 $this->sid = $sid;
45 $this->mid = $mid;
46 $this->usr_id = $usr_id;
47 $this->remote_usr_id = $remote_usr_id;
48 }
49
50 public function getId(): int
51 {
52 return $this->eru_id;
53 }
54
55 public function setServerId(int $a_sid): void
56 {
57 $this->sid = $a_sid;
58 }
59
60 public function getServerId(): int
61 {
62 return $this->sid;
63 }
64
65 public function setMid(int $a_mid): void
66 {
67 $this->mid = $a_mid;
68 }
69
70 public function getMid(): int
71 {
72 return $this->mid;
73 }
74
75 public function setUserId(int $a_usr_id): void
76 {
77 $this->usr_id = $a_usr_id;
78 }
79
80 public function getUserId(): int
81 {
82 return $this->usr_id;
83 }
84
85 public function setRemoteUserId(string $a_remote_id): void
86 {
87 $this->remote_usr_id = $a_remote_id;
88 }
89
90 public function getRemoteUserId(): string
91 {
93 }
94}
Storage of ecs remote user.
setUserId(int $a_usr_id)
__construct(int $eru_id, int $sid, int $mid, int $usr_id, string $remote_usr_id)
Constructor.
setRemoteUserId(string $a_remote_id)