ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
Prompt.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\User\Profile\Prompt
;
22
26
class
Prompt
27
{
28
public
function
__construct
(
29
private
readonly
int
$user_id
,
30
private
readonly ?\
DateTimeImmutable
$last_prompt,
31
private
readonly ?\
DateTimeImmutable
$first_login
32
) {
33
}
34
35
public
function
getUserId
():
int
36
{
37
return
$this->user_id
;
38
}
39
40
public
function
getLastPrompt
(): ?\
DateTimeImmutable
41
{
42
return
$this->last_prompt;
43
}
44
45
public
function
getFirstLogin
(): ?\
DateTimeImmutable
46
{
47
return
$this->first_login;
48
}
49
}
DateTimeImmutable
ILIAS\User\Profile\Prompt\Prompt\getLastPrompt
getLastPrompt()
Definition:
Prompt.php:40
$user_id
int $user_id
Definition:
trait.ilExAssignmentTypeGUIBase.php:38
ILIAS\User\Profile\Prompt\Prompt\getFirstLogin
getFirstLogin()
Definition:
Prompt.php:45
ILIAS\User\Profile\Prompt\Prompt\__construct
__construct(private readonly int $user_id, private readonly ?\DateTimeImmutable $last_prompt, private readonly ?\DateTimeImmutable $first_login)
Definition:
Prompt.php:28
ILIAS\User\Profile\Prompt
Definition:
class.SettingsGUI.php:21
ILIAS\User\Profile\Prompt\Prompt\getUserId
getUserId()
Definition:
Prompt.php:35
ILIAS\User\Profile\Prompt\Prompt
Definition:
Prompt.php:26
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
User
src
Profile
Prompt
Prompt.php
Generated on Wed Sep 3 2025 23:04:13 for ILIAS by
1.8.13 (using
Doxyfile
)