From 64c3cace88d41cbfab5b8c5599f8166df9dc6a0a Mon Sep 17 00:00:00 2001 From: pzinovkin Date: Tue, 30 Mar 2010 20:32:33 +0000 Subject: [PATCH] getDefaultLang, #8 git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@140 4cb57b5f-5bbd-dd11-951b-001d605cbbc5 --- i18n/I18N.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i18n/I18N.php b/i18n/I18N.php index f2623ef..46cdbc1 100644 --- a/i18n/I18N.php +++ b/i18n/I18N.php @@ -96,6 +96,11 @@ class I18N return self::$lang; } + static public function getDefaultLang() + { + return self::$default; + } + static public function setLangs($langs = array()) { self::$langs = $langs;