added locale handling forward compatibility

This commit is contained in:
Lukas Kahwe Smith 2011-10-31 16:15:30 +01:00
parent 10eed30cde
commit c1426baee1

View File

@ -845,6 +845,21 @@ class Request
$this->format = $format;
}
public function setDefaultLocale($locale)
{
$this->session->setPhpDefaultLocale($locale);
}
public function setLocale($locale)
{
$this->session->setLocale($locale);
}
public function getLocale()
{
return $this->session->getLocale();
}
/**
* Checks whether the method is safe or not.
*