mongodb\i18n\MongoDbMessageSource loadMessagesFromDb()

loadMessagesFromDb() protected method

Loads the messages from MongoDB.

You may override this method to customize the message storage in the MongoDB.

protected array loadMessagesFromDb ( $category, $language )
$category string

The message category.

$language string

The target language.

return array

The messages loaded from database.

doc_Yii
2016-10-30 17:08:45
Comments
Leave a Comment

Please login to continue.