Download
extends Base
in package
Class Download.
Table of Contents
- $articleId : int
- $file : string
- $id : int
- $name : string
- $size : int
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getArticleId() : int
- getFile() : string
- getId() : int
- getName() : string
- getSize() : int
- setArticleId() : Download
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setFile() : Download
- setId() : Download
- setName() : Download
- setSize() : Download
Properties
$articleId
protected
int
$articleId
$file
protected
string
$file
$id
protected
int
$id
$name
protected
string
$name
$size
protected
int
$size
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getArticleId()
public
getArticleId() : int
Return values
int —getFile()
public
getFile() : string
Return values
string —getId()
public
getId() : int
Return values
int —getName()
public
getName() : string
Return values
string —getSize()
public
getSize() : int
Return values
int —setArticleId()
public
setArticleId(int $articleId) : Download
Parameters
- $articleId : int
Return values
Download —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) : Download
Parameters
- $file : string
Return values
Download —setId()
public
setId(int $id) : Download
Parameters
- $id : int
Return values
Download —setName()
public
setName(string $name) : Download
Parameters
- $name : string
Return values
Download —setSize()
public
setSize(int $size) : Download
Parameters
- $size : int