ShortlinksEntityInterface
extends
EntityInterface
in
Entity model interface for shortlinks table
Tags
Table of Contents
- getCreated() : DateTime
- Get creation timestamp.
- getHash() : string|null
- Get shortlinks hash.
- getId() : int|null
- Get identifier (returns null for an uninitialized or non-persisted object).
- getPath() : string
- Get the path of the URL.
- setCreated() : ShortlinksEntityInterface
- Set creation timestamp.
- setHash() : ShortlinksEntityInterface
- Set shortlinks hash.
- setPath() : ShortlinksEntityInterface
- Set the path (e.g. /Search/Results?lookfor=foo) of the URL being shortened; shortened URLs are always assumed to be within the hostname where VuFind is running.
Methods
getCreated()
Get creation timestamp.
public
getCreated() : DateTime
Return values
DateTime —getHash()
Get shortlinks hash.
public
getHash() : string|null
Return values
string|null —getId()
Get identifier (returns null for an uninitialized or non-persisted object).
public
getId() : int|null
Return values
int|null —getPath()
Get the path of the URL.
public
getPath() : string
Return values
string —setCreated()
Set creation timestamp.
public
setCreated(DateTime $dateTime) : ShortlinksEntityInterface
Parameters
- $dateTime : DateTime
-
Creation timestamp
Return values
ShortlinksEntityInterface —setHash()
Set shortlinks hash.
public
setHash(string|null $hash) : ShortlinksEntityInterface
Parameters
- $hash : string|null
-
Shortlinks hash
Return values
ShortlinksEntityInterface —setPath()
Set the path (e.g. /Search/Results?lookfor=foo) of the URL being shortened; shortened URLs are always assumed to be within the hostname where VuFind is running.
public
setPath(string $path) : ShortlinksEntityInterface
Parameters
- $path : string
-
Path