Properties

$user

$user : 

Type

$array

$array : 

Type

$hash

$hash : 

Type

$lastAccess

$lastAccess : 

Type

$systems

$systems : 

Type

$permissions

$permissions : 

Type

$chatRooms

$chatRooms : 

Type

$admin

$admin : 

Type

$deleted

$deleted : 

Type

$active

$active : 

Type

$type

$type : 

Type

$registered

$registered : 

Type

$alerts

$alerts : 

Type

Methods

singleton()

singleton() 

__set()

__set(  $field,   $value) 

Parameters

$field
$value

__get()

__get(  $field) 

Parameters

$field

loadById()

loadById(  $id) 

Parameters

$id

authenticate()

authenticate(  $login,   $password) 

Parameters

$login
$password

authenticateBySocialNetwork()

authenticateBySocialNetwork(  $driver,   $id,   $idType = \PDO::PARAM_STR) 

Parameters

$driver
$id
$idType

update()

update() 

isActive()

isActive() 

setGroups()

setGroups() 

getGroups()

getGroups() 

getChatRooms()

getChatRooms() 

getType()

getType() 

isLogged()

isLogged() 

changeLanguage()

changeLanguage(  $language) 

Parameters

$language

getName()

getName() 

getLogin()

getLogin() 

getId()

getId() 

getEmail()

getEmail() 

alertsEnabled()

alertsEnabled() 

getCreateDate()

getCreateDate() 

getUpdateDate()

getUpdateDate() 

getLastLogon()

getLastLogon() 

isAdmin()

isAdmin() 

addPermission()

addPermission(  $permission,   $forSection = FALSE) 

Parameters

$permission
$forSection

hasPermission()

hasPermission(  $permission,   $forSection = FALSE) 

Parameters

$permission
$forSection

accessSection()

accessSection(  $section) 

Parameters

$section

accessAction()

accessAction(  $action,   $section) 

Parameters

$action
$section

accessData()

accessData(  $id,   $primary,   $table,   $column = '_user') 

Parameters

$id
$primary
$table
$column

register()

register(  $table,   $column,   $primary,   $value = NULL) 

Parameters

$table
$column
$primary
$value

unregister()

unregister(  $table,   $column,   $primary,   $value = NULL) 

Parameters

$table
$column
$primary
$value

isRegistered()

isRegistered(  $table,   $column,   $primary,   $value = NULL) 

Parameters

$table
$column
$primary
$value

__construct()

__construct()