summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/core.php')
-rw-r--r--framework/core.php4
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;