VuFind API Documentation

ShortlinksEntityInterface extends EntityInterface

Entity model interface for shortlinks table

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

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

getId()

Get identifier (returns null for an uninitialized or non-persisted object).

public getId() : int|null
Return values
int|null

Search results