Image
Tags
Table of Contents
- $created : DateTime
- $description : string
- $id : int
- $ordering : int
- $source : array<string|int, array<string|int, string>>
- $state : bool
- $title : string
- $updated : DateTime
- $gallery : Gallery
- __construct() : mixed
- getCreated() : DateTime
- Returns image created date
- getDescription() : string
- Returns image description
- getGallery() : Gallery
- Returns image gallery
- getId() : int
- Returns image ID
- getOrdering() : int
- Returns image ordering
- getSource() : array<string|int, array<string|int, string>>
- Returns image source
- getState() : bool
- Returns image state
- getTitle() : string
- Returns image title
- getUpdated() : DateTime
- Returns image updated date
- setCreated() : self
- Sets image created date
- setDescription() : self
- Sets image description
- setGallery() : self
- Sets image gallery
- setOrdering() : self
- Sets image ordering
- setSource() : self
- Sets source to image
- setState() : self
- Sets image state
- setTitle() : self
- Sets image title
- setUpdated() : self
- Sets image updated date
Properties
$created
protected
DateTime
$created
Tags
$description
protected
string
$description
Tags
$id
protected
int
$id
Tags
$ordering
protected
int
$ordering
Tags
$source
protected
array<string|int, array<string|int, string>>
$source
Tags
$state
protected
bool
$state
Tags
$title
protected
string
$title
Tags
$updated
protected
DateTime
$updated
Tags
$gallery
private
Gallery
$gallery
Tags
Methods
__construct()
public
__construct(Gallery $gallery[, string $title = "" ][, string $description = "" ], array<string|int, array<string|int, string>> $source, int $ordering[, bool $state = true ]) : mixed
Parameters
- $gallery : Gallery
- $title : string = ""
- $description : string = ""
- $source : array<string|int, array<string|int, string>>
- $ordering : int
- $state : bool = true
Return values
mixed —getCreated()
Returns image created date
public
getCreated() : DateTime
Return values
DateTime —getDescription()
Returns image description
public
getDescription() : string
Return values
string —getGallery()
Returns image gallery
public
getGallery() : Gallery
Return values
Gallery —getId()
Returns image ID
public
getId() : int
Return values
int —getOrdering()
Returns image ordering
public
getOrdering() : int
Return values
int —getSource()
Returns image source
public
getSource() : array<string|int, array<string|int, string>>
Return values
array<string|int, array<string|int, string>> —getState()
Returns image state
public
getState() : bool
Return values
bool —getTitle()
Returns image title
public
getTitle() : string
Return values
string —getUpdated()
Returns image updated date
public
getUpdated() : DateTime
Return values
DateTime —setCreated()
Sets image created date
public
setCreated(DateTime $created) : self
Parameters
- $created : DateTime
Return values
self —setDescription()
Sets image description
public
setDescription(string $description) : self
Parameters
- $description : string
Return values
self —setGallery()
Sets image gallery
public
setGallery(Gallery $gallery) : self
Parameters
- $gallery : Gallery
Return values
self —setOrdering()
Sets image ordering
public
setOrdering(int $ordering) : self
Parameters
- $ordering : int
Return values
self —setSource()
Sets source to image
public
setSource(array<string|int, array<string|int, string>> $source) : self
Parameters
- $source : array<string|int, array<string|int, string>>
Return values
self —setState()
Sets image state
public
setState(bool $state) : self
Parameters
- $state : bool
Return values
self —setTitle()
Sets image title
public
setTitle(string $title) : self
Parameters
- $title : string
Return values
self —setUpdated()
Sets image updated date
public
setUpdated() : self