GalleryCollectionTrait
-
template
-
Table of Contents
Properties
-
$galleries
: Collection<int, TGallery>
Methods
-
addGallery()
: $this
-
clearGalleries()
: $this
-
galleryCollectionInit()
: void
-
getGalleries()
: Collection<int, TGallery>
-
removeGallery()
: $this
-
setGalleries()
: $this
$galleries
protected
Collection<int, TGallery>
$galleries
addGallery()
public
addGallery(TGallery $gallery) : $this
Parameters
-
$gallery
: TGallery
-
clearGalleries()
public
clearGalleries() : $this
galleryCollectionInit()
public
galleryCollectionInit() : void
getGalleries()
public
getGalleries() : Collection<int, TGallery>
Return values
Collection<int, TGallery>
removeGallery()
public
removeGallery(TGallery $gallery) : $this
Parameters
-
$gallery
: TGallery
-
setGalleries()
public
setGalleries(Collection<int, TGallery>|array<int, TGallery> $galleries) : $this
Parameters
-
$galleries
: Collection<int, TGallery>|array<int, TGallery>
-