diff options
author | xue <> | 2005-11-21 21:01:09 +0000 |
---|---|---|
committer | xue <> | 2005-11-21 21:01:09 +0000 |
commit | b404b6fed5dc814ceb2cf03a17b20ff9d6da775d (patch) | |
tree | e6e97ade97784a2bd085bb0ea1fc3c2c874fe96e /framework/core.php | |
parent | 35c6cb9ba3eb5e77f4eb4f1a93d8569d4b291236 (diff) |
Diffstat (limited to 'framework/core.php')
-rw-r--r-- | framework/core.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/core.php b/framework/core.php index f61761a9..bd143117 100644 --- a/framework/core.php +++ b/framework/core.php @@ -626,6 +626,10 @@ class PradoBase return $languages;
}
+ /**
+ * Returns the most preferred language by the client user.
+ * @return string the most preferred language by the client user, defaults to English.
+ */
public static function getPreferredLanguage()
{
static $language=null;
|