Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Bluz
Tests
Fixtures
Models
UserGuest
PHP Class Bluz\Tests\Fixtures\Models\UserGuest
Author:
Anton Shevchuk
Inheritance:
extends
Bluz\Auth\AbstractRowEntity
Datei anzeigen
Open project: bluzphp/framework
Public Methods
Method
Description
getPrivileges
( ) :
array
Get user privileges
hasPrivilege
(
string
$module
,
string
$privilege
) :
boolean
Has role a privilege
hasRole
(
integer
$roleId
) :
boolean
Check user role
tryLogin
( )
Can entity login
Method Details
getPrivileges()
public
method
Get user privileges
public
getPrivileges
( ) :
array
return
array
hasPrivilege()
public
method
Has role a privilege
public
hasPrivilege
(
string
$module
,
string
$privilege
) :
boolean
$module
string
$privilege
string
return
boolean
hasRole()
public
method
Check user role
public
hasRole
(
integer
$roleId
) :
boolean
$roleId
integer
return
boolean
tryLogin()
public
method
Can entity login
public
tryLogin
( )