Procedural File: functions_auth.php
Source Location: /lib/functions_auth.php
Page Details:
Tags:
AuthenthificationProcess [line 32]
boolean AuthenthificationProcess(
$login $login, $pass $pass, $type $type)
|
|
AuthenthificationProcess() Authentification d'un utilisateur
Tags:
Parameters
$login |
$login |
|
$pass |
$pass |
|
$type |
$type |
='PUBLIC' || 'ADMIN' |
AuthUser4Workshop [line 133]
boolean AuthUser4Workshop(
integer $workshop_id, object $sql_object)
|
|
AuthUser4Workshop()
Parameters
integer |
$workshop_id |
|
object |
$sql_object |
|
DestroyUserCookie [line 277]
void DestroyUserCookie(
)
|
|
DestroyUserCookie() Détruit les infos contenu en cookie
GetSessionElement [line 206]
$result GetSessionElement(
string $item)
|
|
GetSessionElement()
Parameters
hasRight [line 158]
bool hasRight(
string $item)
|
|
hasRights()
Parameters
i2c_realip [line 383]
IsSuperAdmin [line 147]
isWorkgroupOrganiser [line 348]
boolean isWorkgroupOrganiser(
$id_user $id_user, $sql_object $sql_object, $id_workshop $id_workshop)
|
|
isWorkgroupOrganiser() check if a given user is workgroup organiser used in ADMIN app
Parameters
$id_user |
$id_user |
|
$sql_object |
$sql_object |
|
$id_workshop |
$id_workshop |
|
isWorkgroupUser [line 316]
boolean isWorkgroupUser(
$workshop_id $workshop_id)
|
|
isWorkgroupUser() check if the current user belongs to a workgroup used in PUBLIC app
Parameters
$workshop_id |
$workshop_id |
|
loginAuth [line 13]
retrieveWorkgroups [line 99]
string retrieveWorkgroups(
[$a $a = array()])
|
|
retrieveWorkgroups() Retrieve Workgroups for a given user
Parameters
SetUserCookie [line 263]
void SetUserCookie(
$table $table)
|
|
SetUserCookie() set les infos contenu en tableau PHP en cookie
Parameters
Set_Cookie_last_connexion [line 375]
void Set_Cookie_last_connexion(
)
|
|
Set_Cookie_last_connexion() used for the admin/ part
Set_Cookie_last_page [line 363]
void Set_Cookie_last_page(
)
|
|
Set_Cookie_last_page() used for the admin/ part
UpdateCookiePassword [line 291]
void UpdateCookiePassword(
$newpass $newpass)
|
|
UpdateCookiePassword() Mise à jour du mot de passe dans le cookie (cas de changement)
Parameters
updateCookieWorkshop [line 303]
void updateCookieWorkshop(
)
|
|
updateCookieWorkshop() Update workgroups list
|