i18n\DbMessageSource createFallbackQuery()

createFallbackQuery() protected method (available since version 2.0.7)

The method builds the yii\db\Query object for the fallback language messages search.

Normally is called from loadMessagesFromDb().

See also loadMessagesFromDb().

protected yii\db\Query createFallbackQuery ( $category, $language, $fallbackLanguage )
$category string

The message category

$language string

The originally requested language

$fallbackLanguage string

The target fallback language

doc_Yii
2016-10-30 17:05:50
Comments
Leave a Comment

Please login to continue.