CreateAlbumForm
extends AbstractForm
in package
Uses
PrivacyFieldTrait
Class CreateAlbumForm.
Tags
Table of Contents
Properties
- $resource : Album
- $allowVideo : bool
- $isAllowedUploadItem : bool
Methods
- boot() : void
- allowUploadVideo() : bool
- buildPrivacyFieldForAlbum() : AbstractField
- buildUploadField() : Section
- initialize() : void
- prepare() : void
- buildFooter() : void
Properties
$resource
public
Album
$resource
$allowVideo
protected
bool
$allowVideo
= false
$isAllowedUploadItem
protected
bool
$isAllowedUploadItem
= true
Methods
boot()
public
boot(CreateFormRequest $request) : void
Parameters
- $request : CreateFormRequest
Tags
allowUploadVideo()
protected
allowUploadVideo(User $context) : bool
Parameters
- $context : User
Return values
boolbuildPrivacyFieldForAlbum()
protected
buildPrivacyFieldForAlbum() : AbstractField
Tags
Return values
AbstractFieldbuildUploadField()
protected
buildUploadField(Section $basic) : Section
Parameters
- $basic : Section
Tags
Return values
Sectioninitialize()
protected
initialize() : void
Tags
prepare()
protected
prepare() : void
Tags
buildFooter()
private
buildFooter() : void