Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
PartKeepr
AuthBundle
Entity
User
setAdmin
PartKeepr\AuthBundle\Entity\User::setAdmin PHP Method
User Class Documentation
ファイルを表示
Open project: partkeepr/PartKeepr
setAdmin()
public
method
Sets the admin flag.
public
setAdmin
(
boolean
$bAdmin
)
$bAdmin
boolean
True if the user is an admin, false otherwise
public function setAdmin($bAdmin) { $this->admin = (bool) $bAdmin; }
User
__construct
compareHashedPassword
comparePassword
eraseCredentials
getEmail
getInitialUserPreferences
getLastSeen
getNewPassword
getPassword
getProvider
getRoles
getSalt
getTipHistories
getUsername
isActive
isAdmin
isEqualTo
isLegacy
isProtected
setActive
setAdmin
setEmail
setInitialUserPreferences
setLegacy
setNewPassword
setPassword
setProtected
setProvider
setRawUsername
setTipHistories
setUsername
updateSeen