ApiController
extends AbstractActionController
in package
Table of Contents
Properties
- $aclService : AclService
- $albumService : Album
- $tagMapper : Tag
- $translator : Translator
- $voteMapper : Vote
Methods
- __construct() : mixed
- detailsAction() : JsonModel
- listAction() : JsonModel|ViewModel
- Retrieve a list of all photos in an album.
Properties
$aclService read-only
private
AclService
$aclService
$albumService read-only
private
Album
$albumService
$tagMapper read-only
private
Tag
$tagMapper
$translator read-only
private
Translator
$translator
$voteMapper read-only
private
Vote
$voteMapper
Methods
__construct()
public
__construct(AclService $aclService, Translator $translator, Tag $tagMapper, Vote $voteMapper, Album $albumService) : mixed
Parameters
- $aclService : AclService
- $translator : Translator
- $tagMapper : Tag
- $voteMapper : Vote
- $albumService : Album
detailsAction()
public
detailsAction() : JsonModel
Return values
JsonModellistAction()
Retrieve a list of all photos in an album.
public
listAction() : JsonModel|ViewModel
This API call is intended for external scripts. Like the AViCo TV screen that needs a list of all photos.