__construct()
group()
load()
save()
parse_vars()
prep_vars()
$database
$ext
$identifier
$languages
$table
$vars
DB lang data parser
__construct(string $identifier, array $languages, array $vars)
string
Lang identifier name
array
Languages to scan for the lang file
array
Variables to parse in the data retrieved
group() : string
string
load(bool $overwrite) : array
bool
Whether to overwrite existing values
\Database_Exception |
---|
array
the language arraysave(string $identifier, \Fuel\Core\$contents $contents) : bool
string
filename
\Fuel\Core\$contents
language array to save
bool
DB resultparse_vars(string $string) : string
Allows you to use something like %APPPATH% in non-PHP files.
string
String to parse
string
prep_vars(array $array) : array
array
array to be prepped
array
prepped array$database
$ext
$identifier
$languages
$table
$vars