## Class Translator

Description

Translator

- version: $Id: class.Translator.inc,v 1.11 2003/03/28 15:08:26 letreo Exp $
- access: public
- author: Michael Oertel <michael@ortelius.de>

Located in Program_Root/include/class.Translator.inc (line 43)

Variable Summary
string $language
Method Summary
void Translator ([string $language = 'en'])
string filter_out (string $string)
string get_language ()
void out (mixed $string, [mixed $html_entities = false])
void set_language (string $language)
Variables
string $language (line 50)

- see: Translator::out()
- access: public

Methods
Constructor Translator (line 60)

Constructor.

Implements a translator object who translates every output

- access: public

void Translator ([string $language = 'en'])

- string $language: Language in format described by ISO 639

filter_out (line 91)

Searches and translates constans marked with '###' in given string

string filter_out (string $string)

- string $string

get_language (line 70)

Getter for language to translate into

- return: language in format: ISO 639

string get_language ()
out (line 96)
void out (mixed $string, [mixed $html_entities = false])
set_language (line 80)

Setter for language to translate into

void set_language (string $language)

- string $language: language in format: ISO 639

Documention generated on Fri, 2 May 2003 10:50:48 +0200 by phpDocumentor 1.2.0rc2