Method: l::get

Gets a language value by key

Info

Syntax

l::get($key=null, $default=null)

Parameters

Return (mixed)

Example


// for german users
echo l::get('yes');
// output: Ja

// for english users
echo l::get('yes');
// output: yes

a::show( l::get() );
// returns the whole language array