summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorDavid Behler <mail@davidbehler.de>2011-08-14 23:52:48 +0200
committerDavid Behler <mail@davidbehler.de>2011-08-14 23:52:48 +0200
commitcda768a957172d5da7aa7637337405c39e0f774d (patch)
tree02f91db0adda925741180c81637a94ca50e03617 /system/core/Lang.php
parent209b2cf0feac54b4e4fd4c3896524cfc65bf8a46 (diff)
Added some docs to CI core files
Diffstat (limited to 'system/core/Lang.php')
-rwxr-xr-x[-rw-r--r--]system/core/Lang.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/core/Lang.php b/system/core/Lang.php
index 170e6c725..5ac671838 100644..100755
--- a/system/core/Lang.php
+++ b/system/core/Lang.php
@@ -26,7 +26,17 @@
*/
class CI_Lang {
+ /**
+ * List of translations
+ *
+ * @var array
+ */
var $language = array();
+ /**
+ * List of loaded language files
+ *
+ * @var array
+ */
var $is_loaded = array();
/**
@@ -47,6 +57,9 @@ class CI_Lang {
* @access public
* @param mixed the name of the language file to be loaded. Can be an array
* @param string the language (english, etc.)
+ * @param bool return loaded array of translations
+ * @param bool add suffix to $langfile
+ * @param string alternative path to look for language file
* @return mixed
*/
function load($langfile = '', $idiom = '', $return = FALSE, $add_suffix = TRUE, $alt_path = '')