MetaFox

FeedComposerEditListener
in package

Table of Contents

Properties

$groupRepository  : PhotoGroupRepositoryInterface

Methods

__construct()  : mixed
handle()  : bool|array<string|int, mixed>
Photo set feed content won't apply to every single photo. DO NOT assign content to per photo.
handlePhotoGroup()  : bool
removeMedias()  : void
updateMedias()  : void
uploadMedias()  : void

Properties

Methods

handle()

Photo set feed content won't apply to every single photo. DO NOT assign content to per photo.

public handle(User $user, User $owner, mixed $resource, array<string, mixed> $params) : bool|array<string|int, mixed>
Parameters
$user : User
$owner : User
$resource : mixed
$params : array<string, mixed>
Tags
throws
Exception
Return values
bool|array<string|int, mixed>

handlePhotoGroup()

protected handlePhotoGroup(User $user, User $owner, PhotoGroup $group, array<string, mixed> $params, string|null $content[, array<string|int, int> $newFiles = [] ][, array<string|int, int> $removeFiles = [] ][, array<string|int, int> $editFiles = [] ]) : bool
Parameters
$user : User
$owner : User
$group : PhotoGroup
$params : array<string, mixed>
$content : string|null
$newFiles : array<string|int, int> = []
$removeFiles : array<string|int, int> = []
$editFiles : array<string|int, int> = []
Tags
throws
Exception
Return values
bool

removeMedias()

protected removeMedias(array<int, mixed> $removeMedias) : void
Parameters
$removeMedias : array<int, mixed>

updateMedias()

protected updateMedias(User $user, array<string|int, mixed> $files) : void
Parameters
$user : User
$files : array<string|int, mixed>

uploadMedias()

protected uploadMedias(User $user, User $owner, array<int, mixed> $files, array<string, mixed> $params) : void
Parameters
$user : User
$owner : User
$files : array<int, mixed>
$params : array<string, mixed>
Tags
throws
Exception

        
On this page

Search results