◆ __construct()
__construct |
( |
|
$index, |
|
|
|
$version, |
|
|
|
$user_id = false |
|
) |
| |
constructor
init class. don't call directly, class is loaded by ConnectedIlias. public
- Parameters
-
string | $index | ILIAS installation index |
◆ getCategory()
get user category
returns id public
- Returns
- string id
◆ getEmail()
get email-adress
returns email-adress public
- Returns
- string email-adress
◆ getFirstname()
get firstname
returns firstname public
- Returns
- string firstname
◆ getGender()
get gender
returns gender-setting public
- Returns
- string gender-setting
◆ getId()
get id
returns id public
- Returns
- string id
◆ getLastname()
get lastname
returns lastname public
- Returns
- string lastname
◆ getName()
get full name
returns full name public
- Returns
- string name
◆ getPassword()
get password
returns password public
- Returns
- string password
◆ getStudipId()
get stud.ip user-id
returns id public
- Returns
- string stud.ip user-id
◆ getStudipUserData()
get stud.ip-user-data
gets stud.ip-user-data from database public
- Returns
- boolean returns false, if no data was found
◆ getToken()
get authentication token
generates authentication token and updates auth_extern public
◆ getUserArray()
get array of user account data
returns array of user account data public
- Returns
- array user account data
◆ getUsername()
get username
returns username public
- Returns
- string username
◆ getUserType()
get user-type
returns user-type public
- Returns
- string user-type
◆ isConnected()
get connection-status
returns true, if there is a connected user public
- Returns
- boolean connection-status
◆ readData()
get data
gets data from database public
- Returns
- boolean returns false, if no data was found
◆ setCategory()
setCategory |
( |
|
$user_category | ) |
|
set user category
sets user category public
- Parameters
-
string | $user_category | category |
◆ setConnection()
setConnection |
( |
|
$user_type | ) |
|
save connection for user-account
saves user-connection to database and sets type for actual user public
- Parameters
-
string | $user_type | user-type |
◆ setEmail()
set email-adress
sets email-adress public
- Parameters
-
string | $user_email | email-adress |
◆ setFirstname()
setFirstname |
( |
|
$user_firstname | ) |
|
set firstname
sets firstname public
- Parameters
-
string | $user_firstname | firstname |
◆ setGender()
setGender |
( |
|
$user_gender | ) |
|
set gender
sets gender public
- Parameters
-
string | $user_gender | gender-setting |
◆ setId()
set id
returns id
- Returns
- string id
◆ setLastname()
setLastname |
( |
|
$user_lastname | ) |
|
set lastname
sets lastname public
- Parameters
-
string | $user_lastname | lastname |
◆ setPassword()
setPassword |
( |
|
$user_password | ) |
|
set password
sets password public
- Parameters
-
string | $user_password | password |
◆ setUsername()
setUsername |
( |
|
$user_login | ) |
|
set username
sets username public
- Parameters
-
string | $user_login | username |
◆ setUserType()
setUserType |
( |
|
$user_type | ) |
|
set user-type
sets user-type public
- Parameters
-
string | $user_type | user-type |
◆ unsetConnection()
unsetConnection |
( |
|
$ignore_usertype = false | ) |
|
remove connection for user-account
deletes user-connection from database (only for manually connected user) public
◆ $auth_plugin
◆ $category
◆ $country
◆ $email
◆ $external_password
◆ $fax
◆ $firstname
◆ $gender
◆ $id
◆ $index
◆ $institution
◆ $is_connected
◆ $lastname
◆ $login
◆ $matriculation
◆ $phone_home
◆ $street
◆ $studip_id
◆ $studip_login
◆ $studip_password
◆ $title
◆ $title_front
◆ $title_rear
◆ $type
◆ $version
◆ USER_TYPE_CREATED
const USER_TYPE_CREATED = '0' |
◆ USER_TYPE_ORIGINAL
const USER_TYPE_ORIGINAL = '1' |
The documentation for this class was generated from the following file: