Documentation

Action
in package

Table of Contents

Properties

$cache  : SessionPermissionCache
$logger  : Logger
$mySql  : MySql

Methods

__construct()  : mixed
create()  : int
delete()  : void
getActionId()  : int|null
getAll()  : array<string|int, mixed>
getUsage()  : array<string|int, mixed>
isInUse()  : bool

Properties

Methods

create()

public create(string $action[, string $desctioption = '' ]) : int
Parameters
$action : string
$desctioption : string = ''
Tags
throws
Throwable
Return values
int

delete()

public delete(string $action[, bool $force = false ]) : void
Parameters
$action : string
$force : bool = false
Tags
throws
RuntimeException
throws
Throwable

getActionId()

public getActionId(string $action) : int|null
Parameters
$action : string
Return values
int|null

getAll()

public getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUsage()

public getUsage(string $action) : array<string|int, mixed>
Parameters
$action : string
Return values
array<string|int, mixed>

isInUse()

private isInUse(int $actionId) : bool
Parameters
$actionId : int
Return values
bool

        
On this page

Search results