ResourcePolicyInterface
in
Tags
Table of Contents
Methods
- create() : bool
- delete() : bool
- deleteOwn() : bool
- update() : bool
- view() : bool
- viewAny() : bool
- viewOnProfilePage() : bool
- viewOwner() : bool
Methods
create()
public
create(User $user[, User|null $owner = null ]) : bool
Parameters
Return values
booldelete()
public
delete(User $user[, Entity|null $resource = null ]) : bool
Parameters
Return values
booldeleteOwn()
public
deleteOwn(User $user[, Entity|null $resource = null ]) : bool
Parameters
Return values
boolupdate()
public
update(User $user[, Entity|null $resource = null ]) : bool
Parameters
Return values
boolview()
public
view(User $user, Entity $resource) : bool
Parameters
Return values
boolviewAny()
public
viewAny(User $user[, User|null $owner = null ]) : bool
Parameters
Return values
boolviewOnProfilePage()
public
viewOnProfilePage(User $user, User $owner) : bool
Parameters
Return values
boolviewOwner()
public
viewOwner(User $user[, User|null $owner = null ]) : bool