Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pimcore
Model
User
setAdmin
Pimcore\Model\User::setAdmin PHP Method
User Class Documentation
Show file
Open project: pimcore/pimcore
setAdmin()
public
method
public
setAdmin
(
boolean
$admin
) :
void
$admin
boolean
return
void
public function setAdmin($admin) { $this->admin = (bool) $admin; return $this; }
User
getActive
getActivePerspective
getAdmin
getAllowDirtyClose
getAllowedLanguagesForEditingWebsiteTranslations
getAllowedLanguagesForViewingWebsiteTranslations
getApiKey
getCloseWarning
getContentLanguages
getEmail
getFirstAllowedPerspective
getFirstname
getImage
getLanguage
getLastname
getMemorizeTabs
getMergedPerspectives
getMergedWebsiteTranslationLanguagesEdit
getMergedWebsiteTranslationLanguagesView
getPassword
getPermission
getRoles
getUsername
getWelcomescreen
isActive
isAdmin
isAllowed
setActive
setActivePerspective
setAdmin
setAllowDirtyClose
setApiKey
setCloseWarning
setContentLanguages
setEmail
setFirstname
setImage
setLanguage
setLastname
setMemorizeTabs
setPassword
setRoles
setUsername
setWelcomescreen