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

Class: auth

Source Location: /class/class.auth.php

Class Overview




Author(s):

Version:

  • $id SVN

Variables

Methods



Class Details

[line 12]


Tags:

author:  Simon Georget <simon@linea21.com>
version:  $id SVN
access:  public
filesource:  Source Code for this file
license:  Plugin Management


[ Top ]


Class Variables

$dispatcher =  null

[line 15]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 17]

auth __construct( )



Tags:

access:  public


[ Top ]

method builtInAuth [line 53]

void builtInAuth( $login, $pass, $type, $rememberme)



Tags:

access:  protected


Parameters:

   $login  
   $pass  
   $type  
   $rememberme  

[ Top ]

method destroyUserCookie [line 497]

void destroyUserCookie( )

destroyUserCookie() Détruit les infos contenues en cookie



Tags:

access:  public


[ Top ]

method GetSessionElement [line 256]

$result GetSessionElement( string $item)

GetSessionElement()



Tags:

access:  public


Parameters:

string   $item  

[ Top ]

method hasRight [line 151]

bool hasRight( string $item)

hasRight()



Tags:

access:  public


Parameters:

string   $item  

[ Top ]

method identifyWithLogin [line 388]

array identifyWithLogin( $login $login)

identifyWithLogin()

Authentification d'un utilisateur par son login seulement (oubli du mot de passe)




Tags:

access:  public


Parameters:

$login   $login  

[ Top ]

method initSession [line 203]

boolean initSession( $data $data, $login)

initSession() Init user session



Tags:

return:  (true) ou message d'erreur
access:  public


Parameters:

$data   $data  
   $login  

[ Top ]

method isActive [line 550]

void isActive( )

isActive()

check if last activity is less than SESS_INACTIVITY_MAXTIME If more, destroy the session




Tags:

access:  public


[ Top ]

method isAuthenticated [line 375]

void isAuthenticated( )



Tags:

access:  public


[ Top ]

method isSimpleUser [line 104]

boolean isSimpleUser( )

isSimpleUser()



Tags:

access:  public


[ Top ]

method isSuperAdmin [line 119]

boolean isSuperAdmin( )

isSuperAdmin()



Tags:

access:  public


[ Top ]

method isWorkgroupOrganiser [line 361]

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




Tags:

access:  public


Parameters:

$id_user   $id_user  
$sql_object   $sql_object  
$id_workshop   $id_workshop  

[ Top ]

method isWorkgroupUser [line 321]

boolean isWorkgroupUser( $workshop_id $workshop_id, $sql_object)

isWorkgroupUser()

check if the current user belongs to a workgroup used in PUBLIC app




Tags:

access:  public


Parameters:

$workshop_id   $workshop_id  
   $sql_object  

[ Top ]

method logIn [line 43]

boolean logIn( $login $login, $pass $pass, $type $type, $rememberme)

AuthenthificationProcess() Authentification d'un utilisateur



Tags:

return:  (true) ou message d'erreur
access:  public


Parameters:

$login   $login  
$pass   $pass  
$type   $type   ='PUBLIC' || 'ADMIN'
   $rememberme  

[ Top ]

method logOut [line 128]

boolean logOut( )

logOut()



Tags:

access:  public


[ Top ]

method retrieveUserWorkgroups [line 410]

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

retrieveUserWorkgroups()

Retrieve Workgroups for a given user




Tags:

access:  public


Parameters:

$a   $a   array (optional)

[ Top ]

method setCookieLastPage [line 511]

void setCookieLastPage( )

setCookieLastPage()

used for the admin/ part




Tags:

access:  public


[ Top ]

method setCookieRememberMe [line 528]

void setCookieRememberMe( )

setCookieLastPage()

used for the admin/ part




Tags:

access:  public


[ Top ]

method setUserCookie [line 478]

void setUserCookie( $array $array)

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



Tags:

access:  public


Parameters:

$array   $array  

[ Top ]

method updateCookieWorkshop [line 462]

void updateCookieWorkshop( )

updateCookieWorkshop() Update workgroups list in cookie used in public/ part



[ Top ]

method updateSessionPassword [line 445]

boolean updateSessionPassword( $newpass $newpass)

updateSessionPassword()

Mise à jour du mot de passe en session (cas de changement)




Tags:

access:  public


Parameters:

$newpass   $newpass  

[ Top ]

method __call [line 21]

void __call( $method, $arguments)



Tags:

access:  public


Parameters:

   $method  
   $arguments  

[ Top ]


Documentation generated on Thu, 20 Mar 2014 16:45:58 +0100 by phpDocumentor 1.4.1