Media
extends Base
in package
Class Media.
Table of Contents
- $album : int
- $description : string
- $file : string
- $id : int
- $path : string
- getAlbum() : int
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getDescription() : string
- getFile() : string
- getId() : int
- getPath() : string
- setAlbum() : Media
- setDescription() : Media
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setFile() : Media
- setId() : Media
- setPath() : Media
Properties
$album
protected
int
$album
$description
protected
string
$description
$file
protected
string
$file
$id
protected
int
$id
$path
protected
string
$path
Methods
getAlbum()
public
getAlbum() : int
Return values
int —getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDescription()
public
getDescription() : string
Return values
string —getFile()
public
getFile() : string
Return values
string —getId()
public
getId() : int
Return values
int —getPath()
public
getPath() : string
Return values
string —setAlbum()
public
setAlbum(int $album) : Media
Parameters
- $album : int
Return values
Media —setDescription()
public
setDescription(string $description) : Media
Parameters
- $description : string
Return values
Media —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setFile()
public
setFile(string $file) : Media
Parameters
- $file : string
Return values
Media —setId()
public
setId(int $id) : Media
Parameters
- $id : int
Return values
Media —setPath()
public
setPath(string $path) : Media
Parameters
- $path : string