ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ProfileAdapter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Repository\Profile
;
22
23
class
ProfileAdapter
24
{
25
protected \ilLanguage
$lng
;
26
27
public
function
__construct
(
28
\
ilLanguage
$lng
29
) {
30
$this->
lng
=
$lng
;
31
$this->
lng
->loadLanguageModule(
"rep"
);
32
}
33
34
public
function
exists
(
int
$user_id): bool
35
{
36
return \ilObjUser::userExists([$user_id]);
37
}
38
39
public
function
getDeletedUserAvatarText
(): string
40
{
41
return
$this->
lng
->txt(
"deleted"
);
42
}
43
44
public
function
getDeletedUserNamePresentation
(): string
45
{
46
return
$this->
lng
->txt(
"rep_deleted_account"
);
47
}
48
}
ILIAS\Repository\Profile\ProfileAdapter\exists
exists(int $user_id)
Definition:
ProfileAdapter.php:34
ilLanguage
ILIAS\Repository\Profile
Definition:
ProfileAdapter.php:21
ILIAS\Repository\Profile\ProfileAdapter\getDeletedUserAvatarText
getDeletedUserAvatarText()
Definition:
ProfileAdapter.php:39
ILIAS\Repository\Profile\ProfileAdapter
Definition:
ProfileAdapter.php:23
ILIAS\Repository\Profile\ProfileAdapter\$lng
ilLanguage $lng
Definition:
ProfileAdapter.php:25
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:58
ILIAS\Repository\Profile\ProfileAdapter\getDeletedUserNamePresentation
getDeletedUserNamePresentation()
Definition:
ProfileAdapter.php:44
ILIAS\Repository\Profile\ProfileAdapter\__construct
__construct(\ilLanguage $lng)
Definition:
ProfileAdapter.php:27
Services
Repository
Service
Profile
ProfileAdapter.php
Generated on Wed Sep 10 2025 14:11:51 for ILIAS by
1.8.13 (using
Doxyfile
)