Next4Me
 All Classes Files Functions Variables
Application_Model_Session Class Reference

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

Inheritance diagram for Application_Model_Session:

Public Member Functions

 doInsert ($idUserAccount, $token, $chanel)
 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...
 
 updateAtemporal ($entity)
 face update in ControlSession la campurile Lat, Long, Device, Activity, Speed functie de ce primeste 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]$token[String]
Returns
array(IdUserAccount, Token, UserAccount_Type);

Definition at line 42 of file Session.php.

deleteSession (   $token)

sterge sesiunea aferenta token-ului astfel facind logout

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

Definition at line 113 of file Session.php.

doInsert (   $idUserAccount,
  $token,
  $chanel 
)

deschide o sesiune noua

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

Definition at line 23 of file Session.php.

updateAtemporal (   $entity)

face update in ControlSession la campurile Lat, Long, Device, Activity, Speed functie de ce primeste

Parameters
[in]Lat[String]
[in]Long[String]
[in]Device[String]
[in]Activity[String]
[in]Speed[String]
Returns
array(resultId, resultCode) nfmapi Atemporal

Definition at line 137 of file Session.php.

updateSession (   $token)

actualizeaza ultima data si ora ultimei actiuni

Parameters
[in]$token[String]
Returns
void

Definition at line 95 of file Session.php.


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