Documentation

AlbumAdminController extends AbstractActionController
in package

Table of Contents

Properties

$aclService  : AclService
$adminService  : Admin
$albumService  : Album
$photoConfig  : array<string|int, mixed>
$translator  : Translator

Methods

__construct()  : mixed
addAction()  : ViewModel
coverAction()  : JsonModel
Regenerates the cover photo for the album.
createAction()  : Response|ViewModel
Retrieves the album creation form and saves data if needed.
deleteAction()  : JsonModel
Deletes the album.
editAction()  : Response|ViewModel
Retrieves the album editing form and saves changes.
indexAction()  : ViewModel
Retrieves the main photo admin index page.
moveAction()  : JsonModel
Moves the album by setting the parent album to another album.
undatedAction()  : ViewModel
Show all albums that do not have a date, most of these will be recently created albums.
uploadAction()  : JsonModel
Uploads an image file and adds it to an album.
viewAction()  : ViewModel
Show a specific album.
yearAction()  : ViewModel
Show all albums in a specific year.

Properties

Methods

__construct()

public __construct(AclService $aclService, Translator $translator, Admin $adminService, Album $albumService, array<string|int, mixed> $photoConfig) : mixed
Parameters
$aclService : AclService
$translator : Translator
$adminService : Admin
$albumService : Album
$photoConfig : array<string|int, mixed>
Tags
phpcsSuppress

SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification

coverAction()

Regenerates the cover photo for the album.

public coverAction() : JsonModel
Return values
JsonModel

createAction()

Retrieves the album creation form and saves data if needed.

public createAction() : Response|ViewModel
Return values
Response|ViewModel

deleteAction()

Deletes the album.

public deleteAction() : JsonModel
Return values
JsonModel

editAction()

Retrieves the album editing form and saves changes.

public editAction() : Response|ViewModel
Return values
Response|ViewModel

indexAction()

Retrieves the main photo admin index page.

public indexAction() : ViewModel
Return values
ViewModel

moveAction()

Moves the album by setting the parent album to another album.

public moveAction() : JsonModel
Return values
JsonModel

undatedAction()

Show all albums that do not have a date, most of these will be recently created albums.

public undatedAction() : ViewModel
Return values
ViewModel

uploadAction()

Uploads an image file and adds it to an album.

public uploadAction() : JsonModel
Return values
JsonModel

viewAction()

Show a specific album.

public viewAction() : ViewModel
Return values
ViewModel

yearAction()

Show all albums in a specific year.

public yearAction() : ViewModel
Return values
ViewModel

        
On this page

Search results