MetaFox

Photo extends Facade
in package

Class Photo.

Tags
see
Photo
see
Album
  • check album type in album model.

Table of Contents

Methods

createPhoto()  : array<string|int, int>
isVideoAllow()  : bool
transformDataForFeed()  : array<string|int, mixed>
getFacadeAccessor()  : mixed

Methods

createPhoto()

public static createPhoto(User $context, User $owner, array<string|int, mixed> $attributes, int $contextType = Album::TIMELINE_ALBUM) : array<string|int, int>

: array

Parameters
$context : User
$owner : User
$attributes : array<string|int, mixed>
$contextType = Album::TIMELINE_ALBUM : int
Return values
array<string|int, int>

isVideoAllow()

public static isVideoAllow() : bool
Return values
bool

transformDataForFeed()

public static transformDataForFeed(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

getFacadeAccessor()

protected static getFacadeAccessor() : mixed

        
On this page

Search results