summaryrefslogtreecommitdiffstats
path: root/system/core/Lang.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-08-15 00:01:37 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-08-15 00:01:37 +0200
commit2369e77dcd716c772576c1f982e9446785db819d (patch)
tree461394adb4fbaf8e34e1ced0c44c8b00cabba451 /system/core/Lang.php
parent8ddb47df384156035de886736bb88a8848ad0149 (diff)
parentcda768a957172d5da7aa7637337405c39e0f774d (diff)
Merge pull request #51 from waldmeister/develop
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 = '')