Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?
2
/**
3
 * File translationutf8.class.php
4
 *
5
 * @package Translation
6
 */
7
/**
8
 * require base class
9
 */
10
require_once 'Translation'.DIRECTORY_SEPARATOR.'translation.class.php';
11
 
12
/**
13
 * class that allows using Translation class with UTF-8 DB encoding
14
 * @package Translation
15
 */
16
class TTranslationUTF8 extends Translation
17
{
18
	function TTranslationUTF8($PageName, $LanguageID, $pear_DSN, $CustomTables = 0)
19
	{
20
		$this->Translation($PageName, $LanguageID, $pear_DSN, $CustomTables);
21
	}
22
 
23
	function gstr($StringName, $Params = array())
24
	{
25
		return utf8_decode(parent::gstr($StringName, $Params));
26
	}
27
}
28
?>