CoolCMS API

GalleryCollectionTrait

Tags
template

Table of Contents

Properties

$galleries  : Collection<int, TGallery>

Methods

addGallery()  : $this
clearGalleries()  : $this
galleryCollectionInit()  : void
getGalleries()  : Collection<int, TGallery>
removeGallery()  : $this
setGalleries()  : $this

Properties

Methods

addGallery()

public addGallery(TGallery $gallery) : $this
Parameters
$gallery : TGallery
Return values
$this

getGalleries()

public getGalleries() : Collection<int, TGallery>
Return values
Collection<int, TGallery>

removeGallery()

public removeGallery(TGallery $gallery) : $this
Parameters
$gallery : TGallery
Return values
$this

setGalleries()

public setGalleries(Collection<int, TGallery>|array<int, TGallery> $galleries) : $this
Parameters
$galleries : Collection<int, TGallery>|array<int, TGallery>
Return values
$this
On this page

Search results