Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
omgdef
multilingual
MultilingualBehavior
hasLangAttribute
omgdef\multilingual\MultilingualBehavior::hasLangAttribute PHP Method
MultilingualBehavior Class Documentation
Mostrar archivo
Open project: omgdef/yii2-multilingual-behavior
hasLangAttribute()
public
method
Whether an attribute exists
public
hasLangAttribute
(
string
$name
) :
boolean
$name
string
the name of the attribute
return
boolean
public function hasLangAttribute($name) { return array_key_exists($name, $this->langAttributes); }
MultilingualBehavior
__get
__isset
__set
afterDelete
afterFind
afterInsert
afterUpdate
attach
beforeValidate
canGetProperty
canSetProperty
createLangClass
events
getAttributeName
getCurrentLanguage
getLangAttribute
getLanguageBaseName
getShortClassName
getTranslation
getTranslations
hasLangAttribute
indexByLanguage
saveTranslations
setLangAttribute