MetaFox

PhotoGroupPolicy
in package
implements ResourcePolicyInterface Uses HasPolicyTrait

Class PhotoGroupPolicy.

Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Table of Contents

Interfaces

ResourcePolicyInterface

Methods

__call()  : bool
create()  : bool
delete()  : bool
deleteOwn()  : bool
hasCreateFeed()  : bool
update()  : bool
view()  : bool
viewAny()  : bool
viewOnProfilePage()  : bool
viewOwner()  : bool

Methods

__call()

public __call(string $ability, array<string|int, mixed> $arguments) : bool
Parameters
$ability : string
$arguments : array<string|int, mixed>
Return values
bool

create()

public create(User $user[, mixed $owner = null ]) : bool
Parameters
$user : User
$owner : mixed = null
Return values
bool

hasCreateFeed()

public hasCreateFeed(User $owner, string $postType) : bool
Parameters
$owner : User
$postType : string
Return values
bool

        
On this page

Search results