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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.