프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$is_loaded | array | List of loaded language files | |
$language | array | List of translations |
메소드 | 설명 | |
---|---|---|
__construct ( ) : void | Class constructor | |
line ( string $line, boolean $log_errors = TRUE ) : string | Language line | |
load ( mixed $langfile, string $idiom = '', boolean $return = FALSE, boolean $add_suffix = TRUE, string $alt_path = '' ) : void | string[] | Load a language file |
public load ( mixed $langfile, string $idiom = '', boolean $return = FALSE, boolean $add_suffix = TRUE, string $alt_path = '' ) : void | string[] | ||
$langfile | mixed | Language file name |
$idiom | string | Language name (english, etc.) |
$return | boolean | Whether to return the loaded array of translations |
$add_suffix | boolean | Whether to add suffix to $langfile |
$alt_path | string | Alternative path to look for the language file |
리턴 | void | string[] | Array containing translations, if $return is set to TRUE |