I18Nv2::lastLocale

I18Nv2::lastLocale()

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

Description

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

wheter 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().

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.