Class User
Core model - reading 'db' section from system config.ini - database PDO connecting by config settings and index - instance loaded variables initializing - instance initialized values reading - virtual calls/sets and gets handling
- MvcCore\Model
-
MvcCore\Ext\Auth\Virtual\User
Direct known subclasses
MvcCore\Ext\Auth\User
public static
|
#
GetUserBySession( )
Try to get user model instance from any place by session username record if there is any or return null. |
public static
|
#
Authenticate( string $username = '', string $password = '' )
Get user instance if the username exists and hashed password is the same |
public static
|
|
public static
|
|
public static
string
|
#
GetPasswordHash( string $password = '' )
Get any password hash with salt by Auth extension configuration |
GetCfg(),
GetDb(),
GetInstance(),
GetResource(),
GetValues(),
Init(),
SetUp(),
__call(),
__construct(),
__get(),
__set(),
loadConfigs()
|
public
integer
|
$Id
|
#
NULL
|
public
string
|
$UserName
|
#
''
|
public
string
|
$FullName
|
#
''
|
public
string
|
$PasswordHash
|
#
''
|
$autoInit,
$cfg,
$configs,
$connectionArguments,
$connectionIndex,
$connections,
$db,
$instances,
$resource
|