Gallery
Tags
Table of Contents
- $alias : string
- $created : DateTime
- $description : string
- $id : int
- $images : PersistentCollection<int, Image>
- $state : bool
- $tag : Tag
- $title : string
- $updated : DateTime
- __construct() : mixed
- getAlias() : string
- Returns gallery alias
- getCreated() : DateTime
- Returns gallery created date
- getDescription() : string
- Returns gallery description
- getId() : int
- Return gallery ID
- getImages() : PersistentCollection<int, Image>
- Returns images associated to this gallery
- getState() : bool
- Returns gallery state
- getTag() : Tag
- Returns gallery tag
- getThumbnail() : Image|null
- getTitle() : string
- Returns gallery title
- getUpdated() : DateTime
- Returns gallery updated date
- setAlias() : self
- Sets gallery alias
- setCreated() : self
- Sets gallery created date
- setDescription() : self
- Sets gallery description
- setState() : self
- Sets gallery state
- setTag() : self
- Sets gallery tag
- setTitle() : self
- Sets gallery title
- setUpdated() : self
- Sets gallery updated date
Properties
$alias
protected
string
$alias
Tags
$created
protected
DateTime
$created
Tags
$description
protected
string
$description
Tags
$id
protected
int
$id
Tags
$images
protected
PersistentCollection<int, Image>
$images
Tags
$state
protected
bool
$state
Tags
$tag
protected
Tag
$tag
Tags
$title
protected
string
$title
Tags
$updated
protected
DateTime
$updated
Tags
Methods
__construct()
public
__construct([string $title = "" ][, string $description = "" ][, string $alias = "" ][, bool $state = true ]) : mixed
Parameters
- $title : string = ""
- $description : string = ""
- $alias : string = ""
- $state : bool = true
Return values
mixed —getAlias()
Returns gallery alias
public
getAlias() : string
Return values
string —getCreated()
Returns gallery created date
public
getCreated() : DateTime
Return values
DateTime —getDescription()
Returns gallery description
public
getDescription() : string
Return values
string —getId()
Return gallery ID
public
getId() : int
Return values
int —getImages()
Returns images associated to this gallery
public
getImages() : PersistentCollection<int, Image>
Return values
PersistentCollection<int, Image> —getState()
Returns gallery state
public
getState() : bool
Return values
bool —getTag()
Returns gallery tag
public
getTag() : Tag
Return values
Tag —getThumbnail()
public
getThumbnail() : Image|null
Return values
Image|null —getTitle()
Returns gallery title
public
getTitle() : string
Return values
string —getUpdated()
Returns gallery updated date
public
getUpdated() : DateTime
Return values
DateTime —setAlias()
Sets gallery alias
public
setAlias(string $alias) : self
Parameters
- $alias : string
Return values
self —setCreated()
Sets gallery created date
public
setCreated(DateTime $created) : self
Parameters
- $created : DateTime
Return values
self —setDescription()
Sets gallery description
public
setDescription(string $description) : self
Parameters
- $description : string
Return values
self —setState()
Sets gallery state
public
setState(bool $state) : self
Parameters
- $state : bool
Return values
self —setTag()
Sets gallery tag
public
setTag(Tag $tag) : self
Parameters
- $tag : Tag
Return values
self —setTitle()
Sets gallery title
public
setTitle(string $title) : self
Parameters
- $title : string
Return values
self —setUpdated()
Sets gallery updated date
public
setUpdated() : self