/**
  * Finds the frontend module associated with the given type and returns an instance
  * @param string $type The module type
  * @return ModuleBase Returns the associated backend module
  */
 static function CreateBackendModule($type)
 {
     return self::CreateModule($type, ModuleLocation::Backend());
 }
Exemple #2
0
 /**
  * Returns the backend bundle translations file for the 
  * @param string $bundleName
  * @param string $lang
  * @param ModuleLocation $location
  * @return string
  */
 static function BackendBundleTranslationFile($bundleName, $lang)
 {
     return self::BundleTranslationsFileByLocation($bundleName, $lang, ModuleLocation::Backend());
 }