EditAlbumForm
extends AbstractForm
in package
Uses
PrivacyFieldTrait
Class EditAlbumForm.
Tags
Table of Contents
Properties
- $resource : Album
- $allowVideo : bool
- $isAllowedUploadItem : bool
Methods
- boot() : void
- allowUploadVideo() : bool
- buildPrivacyFieldForAlbum() : AbstractField
- buildUploadField() : void
- initialize() : void
- prepare() : void
Properties
$resource
public
Album
$resource
$allowVideo
protected
bool
$allowVideo
= false
$isAllowedUploadItem
protected
bool
$isAllowedUploadItem
Methods
boot()
public
boot(CreateFormRequest $request, AlbumRepositoryInterface $repository[, int|null $id = null ]) : void
Parameters
- $request : CreateFormRequest
- $repository : AlbumRepositoryInterface
- $id : int|null = null
Tags
allowUploadVideo()
protected
allowUploadVideo(User $context) : bool
Parameters
- $context : User
Return values
boolbuildPrivacyFieldForAlbum()
protected
buildPrivacyFieldForAlbum() : AbstractField
Tags
Return values
AbstractFieldbuildUploadField()
protected
buildUploadField(Section $basic) : void
Parameters
- $basic : Section
initialize()
protected
initialize() : void
Tags
prepare()
protected
prepare() : void