VirtueMart  3.2.14.9808
Static Public Member Functions | Static Public Attributes | List of all members
vmLanguage Class Reference

Static Public Member Functions

static initialise ($siteLang=false)
 
static getShopDefaultSiteLangTagByJoomla ()
 
static setLanguageByTag ($siteLang, $alreadyLoaded=true)
 
static loadUsedLangFiles ()
 
static debugLangVars ()
 
static setLanguage ($tag)
 
static getLanguage ($tag=0)
 
static loadJLang ($name, $site=false, $tag=0, $cache=true)
 
static loadModJLang ($name)
 
static getUseLangFallback ()
 
static getUseLangFallbackSecondary ()
 

Static Public Attributes

static $jSelLangTag = false
 
static $currLangTag = false
 
static $jLangCount = 1
 
static $languages = array()
 
static $_loaded = array()
 
static $cgULF = null
 
static $cgULFS = null
 

Member Function Documentation

static vmLanguage::debugLangVars ( )
static
static vmLanguage::getLanguage (   $tag = 0)
static
static vmLanguage::getShopDefaultSiteLangTagByJoomla ( )
static
static vmLanguage::getUseLangFallback ( )
static
static vmLanguage::getUseLangFallbackSecondary ( )
static
static vmLanguage::initialise (   $siteLang = false)
static

Initialises the vm language class. Attention the vm debugger is not working in this function, because the right checks are done after the language initialisiation.

Parameters
bool$siteLang
static vmLanguage::loadJLang (   $name,
  $site = false,
  $tag = 0,
  $cache = true 
)
static

loads a language file, the trick for us is that always the config option enableEnglish is tested and the path are already set and the correct order is used We use first the english language, then the default

Author
Max Milbers
Parameters
$name
Returns
bool
static vmLanguage::loadModJLang (   $name)
static
Author
Max Milbers, Valerie Isaksen
Parameters
$name
static vmLanguage::loadUsedLangFiles ( )
static
static vmLanguage::setLanguage (   $tag)
static
static vmLanguage::setLanguageByTag (   $siteLang,
  $alreadyLoaded = true 
)
static

Member Data Documentation

vmLanguage::$_loaded = array()
static
vmLanguage::$cgULF = null
static
vmLanguage::$cgULFS = null
static
vmLanguage::$currLangTag = false
static
vmLanguage::$jLangCount = 1
static
vmLanguage::$jSelLangTag = false
static
vmLanguage::$languages = array()
static

The documentation for this class was generated from the following file: