My Project
 All Data Structures Namespaces Functions Variables
Public Member Functions | Data Fields
CI_Lang Class Reference

Public Member Functions

 __construct ()
 
 load ($langfile= '', $idiom= '', $return=FALSE, $add_suffix=TRUE, $alt_path= '')
 
 line ($line= '')
 

Data Fields

 $language = array()
 
 $is_loaded = array()
 

Constructor & Destructor Documentation

__construct ( )

Constructor

public

Member Function Documentation

line (   $line = '')

Fetch a single line of text from the language array

public

Parameters
string$linethe language line
Returns
string
load (   $langfile = '',
  $idiom = '',
  $return = FALSE,
  $add_suffix = TRUE,
  $alt_path = '' 
)

Load a language file

public

Parameters
mixedthe name of the language file to be loaded. Can be an array
stringthe language (english, etc.)
boolreturn loaded array of translations
booladd suffix to $langfile
stringalternative path to look for language file
Returns
mixed

The documentation for this class was generated from the following file: