linea21-utils
[ class tree: linea21-utils ] [ index: linea21-utils ] [ all elements ]

Procedural File: functions_auth.php

Source Location: /lib/functions_auth.php



Page Details:



Tags:

author:  linea21 <info@linea21.com>
version:  $id SVN
access:  public
filesource:  Source Code for this file
license:  http://opensource.org/licenses/gpl-3.0.html








AuthenthificationProcess [line 32]

boolean AuthenthificationProcess( $login $login, $pass $pass, $type $type)

AuthenthificationProcess() Authentification d'un utilisateur



Tags:

return:  (true) ou message d'erreur


Parameters

$login   $login  
$pass   $pass  
$type   $type   ='PUBLIC' || 'ADMIN'
[ Top ]



AuthUser4Workshop [line 133]

boolean AuthUser4Workshop( integer $workshop_id, object $sql_object)

AuthUser4Workshop()



Parameters

integer   $workshop_id  
object   $sql_object  
[ Top ]



DestroyUserCookie [line 277]

void DestroyUserCookie( )

DestroyUserCookie() Détruit les infos contenu en cookie



[ Top ]



GetSessionElement [line 206]

$result GetSessionElement( string $item)

GetSessionElement()



Parameters

string   $item  
[ Top ]



hasRight [line 158]

bool hasRight( string $item)

hasRights()



Parameters

string   $item  
[ Top ]



i2c_realip [line 383]

void i2c_realip( )



[ Top ]



IsSuperAdmin [line 147]

boolean IsSuperAdmin( )

IsSuperAdmin()



[ Top ]



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  
[ Top ]



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  
[ Top ]



loginAuth [line 13]

void loginAuth( $login)



Parameters

   $login  
[ Top ]



retrieveWorkgroups [line 99]

string retrieveWorkgroups( [$a $a = array()])

retrieveWorkgroups()

Retrieve Workgroups for a given user




Parameters

$a   $a   array (optional)
[ Top ]



SetUserCookie [line 263]

void SetUserCookie( $table $table)

SetUserCookie() set les infos contenu en tableau PHP en cookie



Parameters

$table   $table  
[ Top ]



Set_Cookie_last_connexion [line 375]

void Set_Cookie_last_connexion( )

Set_Cookie_last_connexion()

used for the admin/ part




[ Top ]



Set_Cookie_last_page [line 363]

void Set_Cookie_last_page( )

Set_Cookie_last_page()

used for the admin/ part




[ Top ]



UpdateCookiePassword [line 291]

void UpdateCookiePassword( $newpass $newpass)

UpdateCookiePassword() Mise à jour du mot de passe dans le cookie (cas de changement)



Parameters

$newpass   $newpass  
[ Top ]



updateCookieWorkshop [line 303]

void updateCookieWorkshop( )

updateCookieWorkshop() Update workgroups list



[ Top ]



Documentation generated on Thu, 03 May 2012 15:04:41 +0200 by phpDocumentor 1.4.1