public function __construct($id, $module = null) { $language = Yii::app()->request->getParam('language', DEFAULT_LANGUAGE); DwHelper::SetLanguage($language); //set meta data $this->keywords = LuxSeo::getParam('keywords'); $this->title = LuxSeo::getParam('title'); $this->description = LuxSeo::getParam('description'); parent::__construct($id, $module); }