Class humhub\components\i18n\ModuleMessageSource

Inheritancehumhub\components\i18n\ModuleMessageSource » humhub\components\i18n\PhpMessageSource » yii\i18n\PhpMessageSource
Available since version1.4

ModuleMessageSource

Property Details

$module public property

The module

$moduleId public property

The id of the module

public string $moduleId null

Method Details

init() public method

public void init ( )
throws \yii\base\InvalidConfigException
throws \yii\base\Exception
loadMessages() protected method

protected void loadMessages ( $category, $language )
$category
$language
translate() public method

public void translate ( $category, $message, $language )
$category
$message
$language