ILIAS  release_8 Revision v8.24
ilPRGUserInformation Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilPRGUserInformation:

Public Member Functions

 __construct (ilUserDefinedData $udf, string $orgu_repr, string $firstname, string $lastname, string $login, bool $active, string $email, string $gender, string $title)
 
 getFirstname ()
 
 getLastname ()
 
 isActive ()
 
 getEmail ()
 
 getLogin ()
 
 getOrguRepresentation ()
 
 getUdf (string $field)
 
 getAllUdf ()
 
 getFullname ()
 
 getGender ()
 
 getTitle ()
 

Data Fields

const COLNAMES
 

Protected Attributes

ilUserDefinedData $udf
 
string $orgu_repr
 
string $firstname
 
string $lastname
 
bool $active
 
string $login
 
string $email
 
string $gender
 
string $title
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Additional information about a user, used in context of assignments

Definition at line 24 of file ilPRGUserInformation.php.

Constructor & Destructor Documentation

◆ __construct()

ilPRGUserInformation::__construct ( ilUserDefinedData  $udf,
string  $orgu_repr,
string  $firstname,
string  $lastname,
string  $login,
bool  $active,
string  $email,
string  $gender,
string  $title 
)

Definition at line 46 of file ilPRGUserInformation.php.

56 {
57 $this->udf = $udf;
58 $this->orgu_repr = $orgu_repr;
59 $this->firstname = $firstname;
60 $this->lastname = $lastname;
61 $this->active = $active;
62 $this->login = $login;
63 $this->email = $email;
64 $this->gender = $gender;
65 $this->title = $title;
66 }

References $active, $email, $firstname, $gender, $lastname, $login, $orgu_repr, $title, $udf, and ILIAS\UI\examples\Symbol\Glyph\Login\login().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAllUdf()

ilPRGUserInformation::getAllUdf ( )

Definition at line 96 of file ilPRGUserInformation.php.

97 {
98 return $this->udf;
99 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References $udf.

◆ getEmail()

ilPRGUserInformation::getEmail ( )

Definition at line 80 of file ilPRGUserInformation.php.

80 : string
81 {
82 return $this->email;
83 }

References $email.

◆ getFirstname()

ilPRGUserInformation::getFirstname ( )

Definition at line 68 of file ilPRGUserInformation.php.

68 : string
69 {
70 return $this->firstname;
71 }

References $firstname.

◆ getFullname()

ilPRGUserInformation::getFullname ( )

Definition at line 101 of file ilPRGUserInformation.php.

101 : string
102 {
103 return $this->lastname . ', ' . $this->firstname;
104 }

References $firstname.

◆ getGender()

ilPRGUserInformation::getGender ( )

Definition at line 105 of file ilPRGUserInformation.php.

105 : string
106 {
107 return $this->gender;
108 }

References $gender.

◆ getLastname()

ilPRGUserInformation::getLastname ( )

Definition at line 72 of file ilPRGUserInformation.php.

72 : string
73 {
74 return $this->lastname;
75 }

References $lastname.

◆ getLogin()

ilPRGUserInformation::getLogin ( )

Definition at line 84 of file ilPRGUserInformation.php.

84 : string
85 {
86 return $this->login;
87 }

References $login.

◆ getOrguRepresentation()

ilPRGUserInformation::getOrguRepresentation ( )

Definition at line 88 of file ilPRGUserInformation.php.

88 : string
89 {
90 return $this->orgu_repr;
91 }

References $orgu_repr.

◆ getTitle()

ilPRGUserInformation::getTitle ( )

Definition at line 109 of file ilPRGUserInformation.php.

109 : string
110 {
111 return $this->title;
112 }

References $title.

◆ getUdf()

ilPRGUserInformation::getUdf ( string  $field)

Definition at line 92 of file ilPRGUserInformation.php.

93 {
94 return $this->udf->get($field);
95 }

◆ isActive()

ilPRGUserInformation::isActive ( )

Definition at line 76 of file ilPRGUserInformation.php.

76 : bool
77 {
78 return $this->active;
79 }

References $active.

Field Documentation

◆ $active

bool ilPRGUserInformation::$active
protected

Definition at line 40 of file ilPRGUserInformation.php.

Referenced by __construct(), and isActive().

◆ $email

string ilPRGUserInformation::$email
protected

Definition at line 42 of file ilPRGUserInformation.php.

Referenced by __construct(), and getEmail().

◆ $firstname

string ilPRGUserInformation::$firstname
protected

Definition at line 38 of file ilPRGUserInformation.php.

Referenced by __construct(), getFirstname(), and getFullname().

◆ $gender

string ilPRGUserInformation::$gender
protected

Definition at line 43 of file ilPRGUserInformation.php.

Referenced by __construct(), and getGender().

◆ $lastname

string ilPRGUserInformation::$lastname
protected

Definition at line 39 of file ilPRGUserInformation.php.

Referenced by __construct(), and getLastname().

◆ $login

string ilPRGUserInformation::$login
protected

Definition at line 41 of file ilPRGUserInformation.php.

Referenced by __construct(), and getLogin().

◆ $orgu_repr

string ilPRGUserInformation::$orgu_repr
protected

Definition at line 37 of file ilPRGUserInformation.php.

Referenced by __construct(), and getOrguRepresentation().

◆ $title

string ilPRGUserInformation::$title
protected

Definition at line 44 of file ilPRGUserInformation.php.

Referenced by __construct(), and getTitle().

◆ $udf

ilUserDefinedData ilPRGUserInformation::$udf
protected

Definition at line 36 of file ilPRGUserInformation.php.

Referenced by __construct(), and getAllUdf().

◆ COLNAMES

const ilPRGUserInformation::COLNAMES
Initial value:
= [
'firstname',
'lastname',
'login',
'active',
'email',
'gender',
'title',
]

Definition at line 26 of file ilPRGUserInformation.php.

Referenced by ilPRGAssignmentDBRepository\query().


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