Translation2::getLang

Translation2::getLang() – get lang info

Synopsis

require_once 'Translation2.php';

mixed Translation2::getLang ( string $langID = null , string $format = 'name' )

Description

Get some extra information about the language (its full name, the localized error text, ...)

Parameter

string $langID

string $format

['name', 'meta', 'error_text', 'array']

Return value

returns [string | array], depending on $format

Note

This function can not be called statically.

Return an instance of a decorator (Previous) get langs (Next)
Last updated: Wed, 23 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.