Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 23912 программистов и 1389 роботов. Сейчас ищут 1467 программистов ...

I18Nv2::lastLocale

Вернуться к: I18Nv2

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.

Parameter

integer $prior

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

boolean $full

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

Return value

Returns mixed prior locale.

Note

This function should be called statically.

See

See also I18Nv2::setLocale().



Вернуться к: I18Nv2

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware