Exemplo n.º 1
0
 /**
  * Finds the frontend module associated with the given type and returns an instance
  * @param string $type The module type
  * @return ModuleBase
  */
 static function CreateFrontendModule($type)
 {
     return self::CreateModule($type, ModuleLocation::Frontend());
 }
Exemplo n.º 2
0
 /**
  * Returns the frontend bundle translations file for the 
  * @param string $bundleName
  * @param string $lang
  * @param ModuleLocation $location
  * @return string
  */
 static function FrontendBundleTranslationFile($bundleName, $lang)
 {
     return self::BundleTranslationsFileByLocation($bundleName, $lang, ModuleLocation::Frontend());
 }