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
Dimsav
Translatable
Translatable
isTranslationAttribute
Dimsav\Translatable\Translatable::isTranslationAttribute PHP Method
Translatable Trait Documentation
Show file
Open project: dimsav/laravel-translatable
isTranslationAttribute()
public
method
public
isTranslationAttribute
(
string
$key
) :
boolean
$key
string
return
boolean
public function isTranslationAttribute($key) { return in_array($key, $this->translatedAttributes); }
Translatable
__isset
alwaysFillable
deleteTranslations
fill
getAttribute
getFallbackLocale
getLanguageFromCountryBasedLocale
getLocaleKey
getLocaleSeparator
getLocales
getNewTranslation
getRelationKey
getTranslation
getTranslationByLocaleKey
getTranslationModelName
getTranslationModelNameDefault
getTranslationOrNew
getTranslationsTable
hasTranslation
isKeyALocale
isLocaleCountryBased
isTranslationAttribute
isTranslationDirty
locale
save
saveTranslations
scopeListsTranslations
scopeNotTranslatedIn
scopeTranslated
scopeTranslatedIn
scopeWhereTranslation
scopeWhereTranslationLike
scopeWithTranslation
setAttribute
toArray
translate
translateOrDefault
translateOrNew
translations
useFallback