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
omgdef
multilingual
MultilingualBehavior
setLangAttribute
omgdef\multilingual\MultilingualBehavior::setLangAttribute PHP Method
MultilingualBehavior Class Documentation
Show file
Open project: omgdef/yii2-multilingual-behavior
setLangAttribute()
public
method
public
setLangAttribute
(
string
$name
,
string
$value
)
$name
string
the name of the attribute
$value
string
the value of the attribute
public function setLangAttribute($name, $value) { $this->langAttributes[$name] = $value; }
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