add helper getLang in session

This commit is contained in:
Manuel Raynaud
2013-07-08 10:21:58 +02:00
parent 7b89469d06
commit 0e7ea83fac

View File

@@ -33,4 +33,9 @@ class Session extends BaseSession {
return $this->get("locale", "en_US");
}
public function getLang()
{
return $this->get("lang", "en");
}
}