Legend of the Green Dragon

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
ORM\Table

( indexes={ @ORM\Index(name="login", columns={"login"}), @ORM\Index(name="laston", columns={"laston"}), @ORM\Index(name="emailaddress", columns={"emailaddress"}), @ORM\Index(name="locked", columns={"locked", "loggedin", "laston"}), @ORM\Index(name="referer", columns={"referer"}), @ORM\Index(name="uniqueid", columns={"uniqueid"}), @ORM\Index(name="emailvalidation", columns={"emailvalidation"}) } )

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\UserRepository")

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
ORM\Column

(name="acctid", type="integer", nullable=false, options={"unsigned": true})

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$amountouttoday

private int $amountouttoday = 0
Tags
ORM\Column

(name="amountouttoday", type="integer", nullable=false, options={"default": 0, "unsigned": true})

$avatar

private mixed $avatar
Tags
ORM\OneToOne

(targetEntity=AvatarEntity::class, cascade={"persist", "remove"})

$banoverride

private bool $banoverride = 0
Tags
ORM\Column

(name="banoverride", type="boolean", nullable=true, options={"default": 0})

$boughtroomtoday

private bool $boughtroomtoday = 0
Tags
ORM\Column

(name="boughtroomtoday", type="boolean", nullable=false, options={"default": 0})

$donation

private mixed $donation = 0
Tags
ORM\Column

(type="integer", options={"unsigned": true})

$donationconfig

private string $donationconfig = []
Tags
ORM\Column

(name="donationconfig", type="array")

$donationspent

private mixed $donationspent = 0
Tags
ORM\Column

(type="integer", options={"unsigned": true})

$emailaddress

private string $emailaddress = ''
Tags
ORM\Column

(name="emailaddress", type="string", length=128, nullable=false)

$emailvalidation

private string $emailvalidation = ''
Tags
ORM\Column

(name="emailvalidation", type="string", length=32, nullable=true)

$forgottenpassword

private string $forgottenpassword = ''
Tags
ORM\Column

(name="forgottenpassword", type="string", nullable=true)

$lastip

private string $lastip = ''
Tags
ORM\Column

(name="lastip", type="string", length=40, nullable=false)

$lastmotd

private DateTime $lastmotd
Tags
ORM\Column

(name="lastmotd", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$laston

private DateTime $laston
Tags
ORM\Column

(name="laston", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$locked

private bool $locked = 0
Tags
ORM\Column

(name="locked", type="boolean", nullable=false, options={"default": 0})

$loggedin

private bool $loggedin = 0
Tags
ORM\Column

(name="loggedin", type="boolean", nullable=false, options={"default": 0})

$login

private string $login
Tags
ORM\Column

(name="login", type="string", unique=true, length=50, nullable=false)

$password

private string $password = ''

The hashed password

Tags
ORM\Column

(type="string")

$prefs

private array<string|int, mixed> $prefs = []
Tags
ORM\Column

(name="prefs", type="array")

$recentcomments

private DateTime $recentcomments
Tags
ORM\Column

(name="recentcomments", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$referer

private int $referer = 0
Tags
ORM\Column

(name="referer", type="integer", nullable=false, options={"default": 0, "unsigned": true})

$refererawarded

private int $refererawarded = 0
Tags
ORM\Column

(name="refererawarded", type="integer", nullable=false, options={"default": 0, "unsigned": true})

$regdate

private DateTime $regdate
Tags
ORM\Column

(name="regdate", type="datetime", nullable=false, options={"default": "0000-00-00 00:00:00"})

$replaceemail

private string $replaceemail = ''
Tags
ORM\Column

(name="replaceemail", type="string", length=128, nullable=false)

$roles

private mixed $roles = []
Tags
ORM\Column

(type="json")

$sentnotice

private bool $sentnotice = false
Tags
ORM\Column

(name="sentnotice", type="boolean", nullable=false, options={"default": 0})

$superuser

private int $superuser = 0
Tags
ORM\Column

(name="superuser", type="integer", nullable=false, options={"default": 0, "unsigned": true})

$transferredtoday

private int $transferredtoday = 0
Tags
ORM\Column

(name="transferredtoday", type="smallint", nullable=false, options={"default": 0, "unsigned": true})

$uniqueid

private string $uniqueid = ''
Tags
ORM\Column

(name="uniqueid", type="string", length=32, nullable=false)

Methods

__construct()

Configure some default values.

public __construct() : mixed
Return values
mixed

eraseCredentials()

public eraseCredentials() : mixed
Tags
see
UserInterface
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

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
deprecated
6.0.0

character is a reserve word and changed to avatar.

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
see
UserInterface
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
see
UserInterface
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
see
UserInterface
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
Return values
self

Search results