VuFind API Documentation

UserEntityInterface extends EntityInterface

Interface for representing a user account record.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Main Site

Table of Contents

getAuthMethod()  : string|null
Get active authentication method (if any).
getCatId()  : string|null
Get catalog id.
getCatPassEnc()  : string|null
Get encrypted catalog password.
getCatUsername()  : string|null
Get catalog username.
getCollege()  : string
Get college.
getCreated()  : DateTime
Created getter
getEmail()  : string
Get email.
getEmailVerified()  : DateTime|null
Get email verification date (or null for unverified).
getFirstname()  : string
Get firstname.
getHomeLibrary()  : string|null
Get home library.
getId()  : int|null
Get identifier (returns null for an uninitialized or non-persisted object).
getLastLanguage()  : string
Get last language.
getLastLogin()  : DateTime
Last login getter
getLastname()  : string
Get lastname.
getMajor()  : string
Get major.
getPasswordHash()  : string|null
Get hashed password. This should only be used when hashing is enabled.
getPendingEmail()  : string
Get pending email.
getRawCatPassword()  : string|null
Get raw catalog password.
getRawPassword()  : string
Get raw (unhashed) password (if available). This should only be used when hashing is disabled.
getUsername()  : string
Get username.
getVerifyHash()  : string
Get verification hash for recovery.
hasUserProvidedEmail()  : bool
Does the user have a user-provided (true) vs. automatically looked up (false) email address?
setAuthMethod()  : UserEntityInterface
Set active authentication method (if any).
setCatId()  : UserEntityInterface
Catalog id setter
setCatPassEnc()  : UserEntityInterface
Encrypted catalog password setter
setCatUsername()  : UserEntityInterface
Catalog username setter
setCollege()  : UserEntityInterface
Set college.
setCreated()  : UserEntityInterface
Created setter
setEmail()  : UserEntityInterface
Set email.
setEmailVerified()  : UserEntityInterface
Set email verification date (or null for unverified).
setFirstname()  : UserEntityInterface
Set firstname.
setHasUserProvidedEmail()  : UserEntityInterface
Set the flag indicating whether the email address is user-provided.
setHomeLibrary()  : UserEntityInterface
Home library setter
setLastLanguage()  : UserEntityInterface
Set last language.
setLastLogin()  : UserEntityInterface
Last login setter.
setLastname()  : UserEntityInterface
Set lastname.
setMajor()  : UserEntityInterface
Set major.
setPasswordHash()  : UserEntityInterface
Set hashed password. This should only be used when hashing is enabled.
setPendingEmail()  : UserEntityInterface
Set pending email.
setRawCatPassword()  : UserEntityInterface
Raw catalog password setter
setRawPassword()  : UserEntityInterface
Set raw (unhashed) password (if available). This should only be used when hashing is disabled.
setUsername()  : UserEntityInterface
Username setter
setVerifyHash()  : UserEntityInterface
Set verification hash for recovery.

Methods

getAuthMethod()

Get active authentication method (if any).

public getAuthMethod() : string|null
Return values
string|null

getCatId()

Get catalog id.

public getCatId() : string|null
Return values
string|null

getCatPassEnc()

Get encrypted catalog password.

public getCatPassEnc() : string|null
Return values
string|null

getCatUsername()

Get catalog username.

public getCatUsername() : string|null
Return values
string|null

getCreated()

Created getter

public getCreated() : DateTime
Return values
DateTime

getEmailVerified()

Get email verification date (or null for unverified).

public getEmailVerified() : DateTime|null
Return values
DateTime|null

getFirstname()

Get firstname.

public getFirstname() : string
Return values
string

getHomeLibrary()

Get home library.

public getHomeLibrary() : 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

getLastLanguage()

Get last language.

public getLastLanguage() : string
Return values
string

getLastLogin()

Last login getter

public getLastLogin() : DateTime
Return values
DateTime

getPasswordHash()

Get hashed password. This should only be used when hashing is enabled.

public getPasswordHash() : string|null
Return values
string|null

getPendingEmail()

Get pending email.

public getPendingEmail() : string
Return values
string

getRawCatPassword()

Get raw catalog password.

public getRawCatPassword() : string|null
Return values
string|null

getRawPassword()

Get raw (unhashed) password (if available). This should only be used when hashing is disabled.

public getRawPassword() : string
Return values
string

getVerifyHash()

Get verification hash for recovery.

public getVerifyHash() : string
Return values
string

hasUserProvidedEmail()

Does the user have a user-provided (true) vs. automatically looked up (false) email address?

public hasUserProvidedEmail() : bool
Return values
bool

Search results