Link
extends Base
in package
Class Link.
Table of Contents
- $articleId : int
- $id : int
- $link : string
- $name : string
- $target : string
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getArticleId() : int
- getId() : int
- getLink() : string
- getName() : string
- getTarget() : string
- setArticleId() : Link
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setId() : Link
- setLink() : Link
- setName() : Link
- setTarget() : Link
Properties
$articleId
protected
int
$articleId
$id
protected
int
$id
$link
protected
string
$link
$name
protected
string
$name
$target
protected
string
$target
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 —getId()
public
getId() : int
Return values
int —getLink()
public
getLink() : string
Return values
string —getName()
public
getName() : string
Return values
string —getTarget()
public
getTarget() : string
Return values
string —setArticleId()
public
setArticleId(int $articleId) : Link
Parameters
- $articleId : int
Return values
Link —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setId()
public
setId(int $id) : Link
Parameters
- $id : int
Return values
Link —setLink()
public
setLink(string $link) : Link
Parameters
- $link : string
Return values
Link —setName()
public
setName(string $name) : Link
Parameters
- $name : string
Return values
Link —setTarget()
public
setTarget(string $target) : Link
Parameters
- $target : string