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
amnah
yii2
user
models
User
getDisplayName
amnah\yii2\user\models\User::getDisplayName PHP Method
User Class Documentation
Show file
Open project: amnah/yii2-user
getDisplayName()
public
method
Get display name for the user
public
getDisplayName
( ) :
string
|
integer
return
string
|
integer
public function getDisplayName() { return $this->username ?: $this->email ?: $this->id; }
User
attributeLabels
beforeSave
behaviors
can
checkEmailChange
confirm
findIdentity
findIdentityByAccessToken
getAuthKey
getDisplayName
getId
getProfile
getRole
getUserAuths
getUserTokens
init
rules
sendEmailConfirmation
setRegisterAttributes
statusDropdown
updateLoginMeta
validateAuthKey
validateCurrentPassword
validatePassword