I18Nv2::lastLocale()

I18Nv2::lastLocale()  -- Get current/prior locale

Synopsis

require_once 'I18Nv2.php';

string I18Nv2::lastLocale ([int $prior = 0 [, bool $full = FALSE]])

Описание

Retrieve kinda history of locales that have been already set.

This only works, if I18Nv2::setLocale() has already been called.

Параметр

integer $prior

if 0, the current otherwise n prior to the current locale

boolean $full

wheter to return the array with locale, language and actually used system locale

Возвращаемое значение

Returns mixed prior locale.

Заметка

Эта функция должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ