Hi guys! Just me again :)
in controller:
$locale = $this->request->getBestLanguages();
How it retyping in model before create function?
public function beforeCreate()
{
$this->locale = .... // need getBestLanguages
}
Hi guys! Just me again :)
in controller:
$locale = $this->request->getBestLanguages();
How it retyping in model before create function?
public function beforeCreate()
{
$this->locale = .... // need getBestLanguages
}