Next4Me
 All Classes Files Functions Variables
Session Class Reference

clasa are ca si metode doInsert / checkSession / updateSession / deleteSession More...

Inheritance diagram for Session:

Public Member Functions

 doInsert ($idUserAccount, $token)
 deschide o sesiune noua More...
 
 checkSession ($token)
 verifica daca sesiunea este deschisa si daca mai e activa More...
 
 updateSession ($token)
 actualizeaza ultima data si ora ultimei actiuni More...
 
 deleteSession ($token)
 sterge sesiunea aferenta token-ului astfel facind logout More...
 

Protected Attributes

 $_name ="ControlSession"
 tabela mapata de clasa
 
 $_primary ="IdControlSession"
 cheie primara
 

Detailed Description

clasa are ca si metode doInsert / checkSession / updateSession / deleteSession

Definition at line 11 of file Session.php.

Member Function Documentation

checkSession (   $token)

verifica daca sesiunea este deschisa si daca mai e activa

Parameters
[in]String$token
Returns
array(IdUserAccount, Token, UserAccount_Type);

Definition at line 41 of file Session.php.

deleteSession (   $token)

sterge sesiunea aferenta token-ului astfel facind logout

Parameters
[in]String$token
Returns
array(resultId, resultCode)

Definition at line 103 of file Session.php.

doInsert (   $idUserAccount,
  $token 
)

deschide o sesiune noua

Parameters
[in]Integer$IdUserAccount
[in]String$token
Returns
void

Definition at line 23 of file Session.php.

updateSession (   $token)

actualizeaza ultima data si ora ultimei actiuni

Parameters
[in]String$token
Returns
void

Definition at line 85 of file Session.php.


The documentation for this class was generated from the following file: