From df92d093d9a3f6ca9da961ecfc1ad01f6d53e5f7 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 15 Jun 2011 13:40:09 +0000 Subject: Added T_defaultlang() to avoid direct access to global it_text->defaultlanguage --- it_text.class | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'it_text.class') diff --git a/it_text.class b/it_text.class index 83c2937..b986e97 100644 --- a/it_text.class +++ b/it_text.class @@ -179,6 +179,15 @@ function get_language() } +/** + * INTERNAL function for T_lang(): Get active language + */ +function get_defaultlanguage() +{ + return $this->defaultlanguage; +} + + /** * INTERNAL function for T_exists(): Check if a text entry for a specific label exists */ -- cgit v1.2.3