Ookma-Kyi Core

CharacterPolicy
in package

Table of Contents

Methods

create()  : bool
Determine whether the user can create models.
delete()  : bool
Determine whether the user can delete the model.
forceDelete()  : bool
Determine whether the user can permanently delete the model.
restore()  : bool
Determine whether the user can restore the model.
update()  : bool
Determine whether the user can update the model.
view()  : bool
Determine whether the user can view the model.
viewAny()  : bool
Determine whether the user can view any models.

Methods

create()

Determine whether the user can create models.

public create(User $user) : bool
Parameters
$user : User
Return values
bool

forceDelete()

Determine whether the user can permanently delete the model.

public forceDelete(User $user, Character $character) : bool
Parameters
$user : User
$character : Character
Return values
bool

viewAny()

Determine whether the user can view any models.

public viewAny(User $user) : bool
Parameters
$user : User
Return values
bool

        
On this page

Search results