ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Repository\Profile\ProfileAdapter Class Reference
+ Collaboration diagram for ILIAS\Repository\Profile\ProfileAdapter:

Public Member Functions

 __construct (\ilLanguage $lng)
 
 exists (int $user_id)
 
 getDeletedUserAvatarText ()
 
 getDeletedUserNamePresentation ()
 

Protected Attributes

ilLanguage $lng
 

Detailed Description

Definition at line 23 of file ProfileAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Repository\Profile\ProfileAdapter::__construct ( \ilLanguage  $lng)

Definition at line 27 of file ProfileAdapter.php.

References ILIAS\Repository\Profile\ProfileAdapter\$lng, and ILIAS\Repository\lng().

29  {
30  $this->lng = $lng;
31  $this->lng->loadLanguageModule("rep");
32  }
+ Here is the call graph for this function:

Member Function Documentation

◆ exists()

ILIAS\Repository\Profile\ProfileAdapter::exists ( int  $user_id)

Definition at line 34 of file ProfileAdapter.php.

34  : bool
35  {
36  return \ilObjUser::userExists([$user_id]);
37  }

◆ getDeletedUserAvatarText()

ILIAS\Repository\Profile\ProfileAdapter::getDeletedUserAvatarText ( )

Definition at line 39 of file ProfileAdapter.php.

References ILIAS\Repository\lng().

39  : string
40  {
41  return $this->lng->txt("deleted");
42  }
+ Here is the call graph for this function:

◆ getDeletedUserNamePresentation()

ILIAS\Repository\Profile\ProfileAdapter::getDeletedUserNamePresentation ( )

Definition at line 44 of file ProfileAdapter.php.

References ILIAS\Repository\lng().

44  : string
45  {
46  return $this->lng->txt("rep_deleted_account");
47  }
+ Here is the call graph for this function:

Field Documentation

◆ $lng

ilLanguage ILIAS\Repository\Profile\ProfileAdapter::$lng
protected

The documentation for this class was generated from the following file: