Static Public Member Functions |
| static | getUser ($user_id, $field=NULL, $full=false) |
| static | getUserStudycourse ($user_id) |
| static | getUserInstitute ($user_id, $as_student=false) |
| static | getUsers ($username=NULL, $vorname=NULL, $nachname=NULL, $email=NULL, $inaktiv=NULL, $perms=NULL, $locked=NULL, $datafields=NULL, $userdomains=NULL, $auth_plugins=NULL, $sort=NULL, $order= 'DESC') |
| static | getInstitute ($user_id, $inst_id) |
| static | setInstitute ($user_id, $inst_id, $values) |
| static | check ($user_id) |
| static | convert ($old_id, $new_id, $identity=false) |
| static | getAvailableInstitutes ($user_id) |
| static | getAvailableAuthPlugins () |
Member Function Documentation
Check if a user exists.
- Parameters
-
- Returns
- bool
| static convert |
( |
|
$old_id, |
|
|
|
$new_id, |
|
|
|
$identity = false |
|
) |
| |
|
static |
Merge an user ($old_id) to another user ($new_id). This is a part of the old numit-plugin.
- Parameters
-
| string | $old_user | |
| string | $new_user | |
| boolean | $identity | merge identity (if true) |
- Returns
- array() messages to display after migration
| static getAvailableAuthPlugins |
( |
| ) |
|
|
static |
| static getAvailableInstitutes |
( |
|
$user_id | ) |
|
|
static |
Return a list of free and available institutes of an user.
- Parameters
-
- Returns
- array() list of institutes
| static getInstitute |
( |
|
$user_id, |
|
|
|
$inst_id |
|
) |
| |
|
static |
Return the institute information, depending on the selected user and institute.
- Parameters
-
- Returns
- array()
| static getUser |
( |
|
$user_id, |
|
|
|
$field = NULL, |
|
|
|
$full = false |
|
) |
| |
|
static |
Return all informations of an user, otherwise the selected field of the databse-table auth_user_md5, if field is set.
- Parameters
-
| md5 | $user_id | |
| string | $field | |
| bool | $full | |
- Returns
- string (if field is set), otherwise array()
| static getUserInstitute |
( |
|
$user_id, |
|
|
|
$as_student = false |
|
) |
| |
|
static |
Return the Institutes of an user depending of the student-status.
- Parameters
-
| md5 | $user_id | |
| bool | $as_student | |
- Returns
- array()
| static getUsers |
( |
|
$username = NULL, |
|
|
|
$vorname = NULL, |
|
|
|
$nachname = NULL, |
|
|
|
$email = NULL, |
|
|
|
$inaktiv = NULL, |
|
|
|
$perms = NULL, |
|
|
|
$locked = NULL, |
|
|
|
$datafields = NULL, |
|
|
|
$userdomains = NULL, |
|
|
|
$auth_plugins = NULL, |
|
|
|
$sort = NULL, |
|
|
|
$order = 'DESC' |
|
) |
| |
|
static |
Search for users, depending of the used parameters.
- Parameters
-
| string | $username | |
| string | $vorname | |
| string | $nachname | |
| string | $email | |
| int | $inaktiv | |
| string | $perms | |
| int | $locked | |
| array() | $datafields |
| string | $sort | |
| string | $order | |
- Returns
- array() list of found users
| static getUserStudycourse |
( |
|
$user_id | ) |
|
|
static |
Return the studycourses of an user.
- Parameters
-
- Returns
- array() list of studycourses
| static setInstitute |
( |
|
$user_id, |
|
|
|
$inst_id, |
|
|
|
$values |
|
) |
| |
|
static |
Update the institute-informations of an user.
- Parameters
-
| md5 | $user_id | |
| md5 | $inst_id | |
| array() | $values list of changed entries |
The documentation for this class was generated from the following file: