Class humhub\libs\I18NHelper

Inheritancehumhub\libs\I18NHelper
Available since version1.4

Class I18NHelper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getModuleTranslationCategory() Returns the default translation category for a given moduleId. humhub\libs\I18NHelper

Method Details

getModuleTranslationCategory() public static method

Returns the default translation category for a given moduleId.

Examples:

 example -> ExampleModule.
 long_module_name -> LongModuleNameModule.
public static string getModuleTranslationCategory ( $moduleId )
$moduleId
return string

The category id