Method: l::get
Gets a language value by key
Info
Syntax
l::get($key=null, $default=null)
Parameters
- $key (mixed) The key to look for. Pass false or null to return the entire language array.
- $default (mixed) Optional default value, which should be returned if no element has been found
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