VuFind API Documentation

RatingsEntityInterface extends EntityInterface

Entity model interface for ratings 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 created date.
getId()  : int|null
Get identifier (returns null for an uninitialized or non-persisted object).
getRating()  : int
Get rating.
getResource()  : ResourceEntityInterface
Get resource.
getUser()  : UserEntityInterface|null
Get user.
setCreated()  : RatingsEntityInterface
Set created date.
setRating()  : RatingsEntityInterface
Set rating.
setResource()  : RatingsEntityInterface
Set resource.
setUser()  : RatingsEntityInterface
Set user.

Methods

getId()

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

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

Search results