EditPhotoForm
extends AbstractForm
in package
Uses
PrivacyFieldTrait
Class EditPhotoForm.
Tags
Table of Contents
Properties
Methods
- boot() : void
- addAlbumField() : void
- buildPrivacyFieldForPhoto() : AbstractField
- canUpdateAlbum() : bool
- getDescription() : string
- getPrivacy() : array<string|int, int>|string
- initialize() : void
- prepare() : void
Properties
$resource
public
Photo
$resource
Methods
boot()
public
boot(PhotoRepositoryInterface $repository[, int|null $id = null ]) : void
Parameters
- $repository : PhotoRepositoryInterface
- $id : int|null = null
Tags
addAlbumField()
protected
addAlbumField(Section $basic) : void
Parameters
- $basic : Section
buildPrivacyFieldForPhoto()
protected
buildPrivacyFieldForPhoto() : AbstractField
Return values
AbstractFieldcanUpdateAlbum()
protected
canUpdateAlbum() : bool
Return values
boolgetDescription()
protected
getDescription() : string
Return values
stringgetPrivacy()
protected
getPrivacy() : array<string|int, int>|string
Return values
array<string|int, int>|stringinitialize()
protected
initialize() : void
prepare()
protected
prepare() : void