User
in package
implements
UserInterface
Uses
Avatar, Ban, Donation, Referer, Security
Structure of table "user" in data base.
This table store users, only data related to user.
Tags
Interfaces, Classes, Traits and Enums
- UserInterface
Table of Contents
- $acctid : int
- $amountouttoday : int
- $avatar : mixed
- $banoverride : bool
- $boughtroomtoday : bool
- $donation : mixed
- $donationconfig : string
- $donationspent : mixed
- $emailaddress : string
- $emailvalidation : string
- $forgottenpassword : string
- $lastip : string
- $lastmotd : DateTime
- $laston : DateTime
- $locked : bool
- $loggedin : bool
- $login : string
- $password : string
- $prefs : array<string|int, mixed>
- $recentcomments : DateTime
- $referer : int
- $refererawarded : int
- $regdate : DateTime
- $replaceemail : string
- $roles : mixed
- $sentnotice : bool
- $superuser : int
- $transferredtoday : int
- $uniqueid : string
- __construct() : mixed
- Configure some default values.
- eraseCredentials() : mixed
- eraseDataForCache() : mixed
- getAcctid() : int
- Get the value of Acctid.
- getAmountouttoday() : int
- Get the value of Amountouttoday.
- getAvatar() : Avatar|null
- getBanoverride() : bool
- Get the value of Banoverride.
- getBoughtroomtoday() : bool
- Get the value of Boughtroomtoday.
- getCharacter() : mixed
- Alias.
- getDonation() : int|null
- getDonationconfig() : mixed
- getDonationspent() : int|null
- getEmailaddress() : string
- Get the value of Emailaddress.
- getEmailvalidation() : string
- Get the value of Emailvalidation.
- getForgottenpassword() : string
- Get the value of Forgottenpassword.
- getLastip() : string
- Get the value of Lastip.
- getLastmotd() : DateTime|DateTimeImmutable
- Get the value of Lastmotd.
- getLaston() : DateTime|DateTimeImmutable
- Get the value of Laston.
- getLocked() : bool
- Get the value of Locked.
- getLoggedin() : bool
- Get the value of Loggedin.
- getLogin() : string
- Get the value of Login.
- getPassword() : string
- getPrefs() : array<string|int, mixed>
- Get the value of Prefs.
- getRecentcomments() : DateTime|DateTimeImmutable
- Get the value of Recentcomments.
- getReferer() : int
- Get the value of Referer.
- getRefererawarded() : int
- Get the value of Refererawarded.
- getRegdate() : DateTime|DateTimeImmutable
- Get the value of Regdate.
- getReplaceemail() : string
- Get the value of Replaceemail.
- getRoles() : array<string|int, mixed>
- getSalt() : string|null
- Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.
- getSentnotice() : bool
- Get the value of Sentnotice.
- getSuperuser() : int
- Get the value of Superuser.
- getTransferredtoday() : int
- Get the value of Transferredtoday.
- getUniqueid() : string
- Get the value of Uniqueid.
- getUsername() : string
- Get the value of Login.
- setAcctid() : self
- Set the value of Acctid.
- setAmountouttoday() : self
- Set the value of Amountouttoday.
- setAvatar() : self
- setBanoverride() : self
- Set the value of Banoverride.
- setBoughtroomtoday() : self
- Set the value of Boughtroomtoday.
- setDonation() : self
- setDonationconfig() : self
- setDonationspent() : self
- setEmailaddress() : self
- Set the value of Emailaddress.
- setEmailvalidation() : self
- Set the value of Emailvalidation.
- setForgottenpassword() : self
- Set the value of Forgottenpassword.
- setLastip() : self
- Set the value of Lastip.
- setLastmotd() : self
- Set the value of Lastmotd.
- setLaston() : self
- Set the value of Laston.
- setLocked() : self
- Set the value of Locked.
- setLoggedin() : self
- Set the value of Loggedin.
- setLogin() : self
- Set the value of Login.
- setPassword() : self
- setPrefs() : self
- Set the value of Prefs.
- setRecentcomments() : self
- Set the value of Recentcomments.
- setReferer() : self
- Set the value of Referer.
- setRefererawarded() : self
- Set the value of Refererawarded.
- setRegdate() : self
- Set the value of Regdate.
- setReplaceemail() : self
- Set the value of Replaceemail.
- setRoles() : self
- setSentnotice() : self
- Set the value of Sentnotice.
- setSuperuser() : self
- Set the value of Superuser.
- setTransferredtoday() : self
- Set the value of Transferredtoday.
- setUniqueid() : self
- Set the value of Uniqueid.
Properties
$acctid
private
int
$acctid
Tags
$amountouttoday
private
int
$amountouttoday
= 0
Tags
$avatar
private
mixed
$avatar
Tags
$banoverride
private
bool
$banoverride
= 0
Tags
$boughtroomtoday
private
bool
$boughtroomtoday
= 0
Tags
$donation
private
mixed
$donation
= 0
Tags
$donationconfig
private
string
$donationconfig
= []
Tags
$donationspent
private
mixed
$donationspent
= 0
Tags
$emailaddress
private
string
$emailaddress
= ''
Tags
$emailvalidation
private
string
$emailvalidation
= ''
Tags
$forgottenpassword
private
string
$forgottenpassword
= ''
Tags
$lastip
private
string
$lastip
= ''
Tags
$lastmotd
private
DateTime
$lastmotd
Tags
$laston
private
DateTime
$laston
Tags
$locked
private
bool
$locked
= 0
Tags
$loggedin
private
bool
$loggedin
= 0
Tags
$login
private
string
$login
Tags
$password
private
string
$password
= ''
The hashed password
Tags
$prefs
private
array<string|int, mixed>
$prefs
= []
Tags
$recentcomments
private
DateTime
$recentcomments
Tags
$referer
private
int
$referer
= 0
Tags
$refererawarded
private
int
$refererawarded
= 0
Tags
$regdate
private
DateTime
$regdate
Tags
$replaceemail
private
string
$replaceemail
= ''
Tags
$roles
private
mixed
$roles
= []
Tags
$sentnotice
private
bool
$sentnotice
= false
Tags
$superuser
private
int
$superuser
= 0
Tags
$transferredtoday
private
int
$transferredtoday
= 0
Tags
$uniqueid
private
string
$uniqueid
= ''
Tags
Methods
__construct()
Configure some default values.
public
__construct() : mixed
Return values
mixed —eraseCredentials()
public
eraseCredentials() : mixed
Tags
Return values
mixed —eraseDataForCache()
public
eraseDataForCache() : mixed
Return values
mixed —getAcctid()
Get the value of Acctid.
public
getAcctid() : int
Return values
int —getAmountouttoday()
Get the value of Amountouttoday.
public
getAmountouttoday() : int
Return values
int —getAvatar()
public
getAvatar() : Avatar|null
Return values
Avatar|null —getBanoverride()
Get the value of Banoverride.
public
getBanoverride() : bool
Return values
bool —getBoughtroomtoday()
Get the value of Boughtroomtoday.
public
getBoughtroomtoday() : bool
Return values
bool —getCharacter()
Alias.
public
getCharacter() : mixed
Tags
Return values
mixed —getDonation()
public
getDonation() : int|null
Return values
int|null —getDonationconfig()
public
getDonationconfig() : mixed
Return values
mixed —getDonationspent()
public
getDonationspent() : int|null
Return values
int|null —getEmailaddress()
Get the value of Emailaddress.
public
getEmailaddress() : string
Return values
string —getEmailvalidation()
Get the value of Emailvalidation.
public
getEmailvalidation() : string
Return values
string —getForgottenpassword()
Get the value of Forgottenpassword.
public
getForgottenpassword() : string
Return values
string —getLastip()
Get the value of Lastip.
public
getLastip() : string
Return values
string —getLastmotd()
Get the value of Lastmotd.
public
getLastmotd() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getLaston()
Get the value of Laston.
public
getLaston() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getLocked()
Get the value of Locked.
public
getLocked() : bool
Return values
bool —getLoggedin()
Get the value of Loggedin.
public
getLoggedin() : bool
Return values
bool —getLogin()
Get the value of Login.
public
getLogin() : string
Return values
string —getPassword()
public
getPassword() : string
Tags
Return values
string —getPrefs()
Get the value of Prefs.
public
getPrefs() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRecentcomments()
Get the value of Recentcomments.
public
getRecentcomments() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getReferer()
Get the value of Referer.
public
getReferer() : int
Return values
int —getRefererawarded()
Get the value of Refererawarded.
public
getRefererawarded() : int
Return values
int —getRegdate()
Get the value of Regdate.
public
getRegdate() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getReplaceemail()
Get the value of Replaceemail.
public
getReplaceemail() : string
Return values
string —getRoles()
public
getRoles() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getSalt()
Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.
public
getSalt() : string|null
Tags
Return values
string|null —getSentnotice()
Get the value of Sentnotice.
public
getSentnotice() : bool
Return values
bool —getSuperuser()
Get the value of Superuser.
public
getSuperuser() : int
Return values
int —getTransferredtoday()
Get the value of Transferredtoday.
public
getTransferredtoday() : int
Return values
int —getUniqueid()
Get the value of Uniqueid.
public
getUniqueid() : string
Return values
string —getUsername()
Get the value of Login.
public
getUsername() : string
Return values
string —setAcctid()
Set the value of Acctid.
public
setAcctid(int $acctid) : self
Parameters
- $acctid : int
Return values
self —setAmountouttoday()
Set the value of Amountouttoday.
public
setAmountouttoday(int $amountouttoday) : self
Parameters
- $amountouttoday : int
Return values
self —setAvatar()
public
setAvatar(Avatar|null $avatar) : self
Parameters
- $avatar : Avatar|null
Return values
self —setBanoverride()
Set the value of Banoverride.
public
setBanoverride(bool $banoverride) : self
Parameters
- $banoverride : bool
Return values
self —setBoughtroomtoday()
Set the value of Boughtroomtoday.
public
setBoughtroomtoday(bool $boughtroomtoday) : self
Parameters
- $boughtroomtoday : bool
Return values
self —setDonation()
public
setDonation(int $donation) : self
Parameters
- $donation : int
Return values
self —setDonationconfig()
public
setDonationconfig(array<string|int, mixed> $donationconfig) : self
Parameters
- $donationconfig : array<string|int, mixed>
Return values
self —setDonationspent()
public
setDonationspent(int $donationspent) : self
Parameters
- $donationspent : int
Return values
self —setEmailaddress()
Set the value of Emailaddress.
public
setEmailaddress(string $emailaddress) : self
Parameters
- $emailaddress : string
Return values
self —setEmailvalidation()
Set the value of Emailvalidation.
public
setEmailvalidation(string $emailvalidation) : self
Parameters
- $emailvalidation : string
Return values
self —setForgottenpassword()
Set the value of Forgottenpassword.
public
setForgottenpassword(string $forgottenpassword) : self
Parameters
- $forgottenpassword : string
Return values
self —setLastip()
Set the value of Lastip.
public
setLastip(string $lastip) : self
Parameters
- $lastip : string
Return values
self —setLastmotd()
Set the value of Lastmotd.
public
setLastmotd(DateTime|DateTimeImmutable $lastmotd) : self
Parameters
- $lastmotd : DateTime|DateTimeImmutable
Return values
self —setLaston()
Set the value of Laston.
public
setLaston(DateTime|DateTimeImmutable $laston) : self
Parameters
- $laston : DateTime|DateTimeImmutable
Return values
self —setLocked()
Set the value of Locked.
public
setLocked(bool $locked) : self
Parameters
- $locked : bool
Return values
self —setLoggedin()
Set the value of Loggedin.
public
setLoggedin(bool $loggedin) : self
Parameters
- $loggedin : bool
Return values
self —setLogin()
Set the value of Login.
public
setLogin(string $login) : self
Parameters
- $login : string
Return values
self —setPassword()
public
setPassword(string $password) : self
Parameters
- $password : string
Return values
self —setPrefs()
Set the value of Prefs.
public
setPrefs(array<string|int, mixed> $prefs) : self
Parameters
- $prefs : array<string|int, mixed>
Return values
self —setRecentcomments()
Set the value of Recentcomments.
public
setRecentcomments(DateTime|DateTimeImmutable $recentcomments) : self
Parameters
- $recentcomments : DateTime|DateTimeImmutable
Return values
self —setReferer()
Set the value of Referer.
public
setReferer(int $referer) : self
Parameters
- $referer : int
Return values
self —setRefererawarded()
Set the value of Refererawarded.
public
setRefererawarded(int $refererawarded) : self
Parameters
- $refererawarded : int
Return values
self —setRegdate()
Set the value of Regdate.
public
setRegdate(DateTime|DateTimeImmutable $regdate) : self
Parameters
- $regdate : DateTime|DateTimeImmutable
Return values
self —setReplaceemail()
Set the value of Replaceemail.
public
setReplaceemail(string $replaceemail) : self
Parameters
- $replaceemail : string
Return values
self —setRoles()
public
setRoles(array<string|int, mixed> $roles) : self
Parameters
- $roles : array<string|int, mixed>
Return values
self —setSentnotice()
Set the value of Sentnotice.
public
setSentnotice(bool $sentnotice) : self
Parameters
- $sentnotice : bool
Return values
self —setSuperuser()
Set the value of Superuser.
public
setSuperuser(int $superuser) : self
Parameters
- $superuser : int
Return values
self —setTransferredtoday()
Set the value of Transferredtoday.
public
setTransferredtoday(int $transferredtoday) : self
Parameters
- $transferredtoday : int
Return values
self —setUniqueid()
Set the value of Uniqueid.
public
setUniqueid(string $uniqueid) : self
Parameters
- $uniqueid : string