\CI_Lang

Language Class

Summary

Methods
Properties
Constants
__construct()
load()
line()
$language
$is_loaded
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$language

$language : array

List of translations

Type

array

$is_loaded

$is_loaded : array

List of loaded language files

Type

array

Methods

__construct()

__construct() 

Constructor

load()

load(  $langfile = '',   $idiom = '',   $return = FALSE,   $add_suffix = TRUE,   $alt_path = '') : mixed

Load a language file

Parameters

$langfile
$idiom
$return
$add_suffix
$alt_path

Returns

mixed

line()

line(string  $line = '') : string

Fetch a single line of text from the language array

Parameters

string $line

the language line

Returns

string