Class org_geoprisma_locale_GetTextLocale

Description

Return text based on language and domain name using the php gettext fonction

  • author: Stephane Guillemette
  • author: Pascal Martin

Located in /org/geoprisma/locale/GetTextLocale.php (line 26)

org_geoprisma_locale_Locale
   |
   --org_geoprisma_locale_GetTextLocale
Method Summary
string getTranslation (string $pstrMsg, string $pstrDomainName)
void setLanguage (string $pstrLanguage)
Methods
static method getInstance (line 47)

Retourne un instance de org_geoprisma_locale_GetTextLocale Singleton DP

  • access: public
static org_geoprisma_locale_GetTextLocale getInstance ()
getTranslation (line 78)

Return text based on domainName for right language

  • access: public
string getTranslation (string $pstrMsg, string $pstrDomainName)
  • string $pstrMsg: Message Key
  • string $pstrDomainName: Name of the

Redefinition of:
org_geoprisma_locale_Locale::getTranslation()
Return text based on domainName for right language
setLanguage (line 63)

Set the current use langage for traduction (e.g. en_US , fr_CA)

  • access: public
void setLanguage (string $pstrLanguage)
  • string $pstrLanguage: Language

Redefinition of:
org_geoprisma_locale_Locale::setLanguage()
Set the current use langage for traduction (e.g. en_US , fr_CA)

Inherited Methods

Inherited From org_geoprisma_locale_Locale

org_geoprisma_locale_Locale::getDefaultLanguage()
org_geoprisma_locale_Locale::getLanguage()
org_geoprisma_locale_Locale::getText()
org_geoprisma_locale_Locale::getTranslation()
org_geoprisma_locale_Locale::jsEncode()
org_geoprisma_locale_Locale::setLanguage()

Documentation generated on Thu, 19 Jan 2012 00:08:34 +0400 by phpDocumentor 1.4.1