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 |
Please login to continue.