I18Nv2::setLocale (Previous) (Next) I18Nv2::getInfo

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

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

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::setLocale (Previous) (Next) I18Nv2::getInfo

Download Documentation Last updated: Sun, 29 Jun 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.