Class Permission
This class describes the permission model
- Hawk\Model uses Hawk\Utils
-
Hawk\Permission
Methods summary
public static
array
|
|
public static
array
|
|
public static
|
|
public static
|
Methods inherited from Hawk\Model
__construct(),
addIfNotExists(),
countElementsByExample(),
countElementsBySQL(),
delete(),
deleteByExample(),
deleteBySQL(),
getAll(),
getByExample(),
getById(),
getBySQL(),
getData(),
getDbInstance(),
getDbName(),
getListByExample(),
getListBySQL(),
getPrimaryColumn(),
getTable(),
save(),
set(),
setDbName(),
setPrimaryColumn(),
setTable(),
update()
Methods used from Hawk\Utils
Constants summary
integer |
ALL_PRIVILEGES_ID
The id of the permission giving rights on all permissions |
#
1
|
string |
ALL_PRIVILEGES_NAME
The name of the permission giving rights on all permissions |
#
'admin.all'
|
Properties summary
protected static
string
|
$tablename
The associated table |
#
"Permission"
|