Source for file GetTextLocale.php
Documentation is available at GetTextLocale.php
* Return text based on language and domain name using the php gettext fonction
* @author Stephane Guillemette
* @copyright 2009, Boreal - Information Strategies
* @license http://www.geoprisma.org/license BSD License
* @link http://www.geoprisma.org
* Return text based on language and domain name using the php gettext fonction
* @author Stephane Guillemette
private static $s_objInstance =
null;
* Construit un instance de org_geoprisma_locale_GetTextLocale
* @return org_geoprisma_locale_GetTextLocale
private function __construct()
// Constructeur privé pour forcer l'utilisation de getInstance (Singleton DP)
* Retourne un instance de org_geoprisma_locale_GetTextLocale
* @return org_geoprisma_locale_GetTextLocale
self::$s_objInstance =
new org_geoprisma_locale_GetTextLocale();
return self::$s_objInstance;
* Set the current use langage for traduction (e.g. en_US , fr_CA)
* @param string $pstrLanguage Language
parent::setLanguage($pstrLanguage);
putenv("LANGUAGE=$pstrLanguage");
* Return text based on domainName for right language
* @param string $pstrMsg Message Key
* @param string $pstrDomainName Name of the
com_borealis_foundation_util_Assert::assertIsNotEmptyString($pstrDomainName);
Documentation generated on Mon, 20 Feb 2012 13:46:19 -0500 by phpDocumentor 1.4.1