Yii::$app->getRequest()->getQueryParam('slug_producer')]) ; if($etablissement) return $etablissement; else throw new \yii\web\HttpException(404, 'Etablissement introuvable'); } public function setTitle($title, $icon = '') { $this->title = $title ; $this->page_title = $title ; } public function getTitle() { return $this->title ; } public function setPageTitle($page_title) { $this->page_title = $page_title ; } public function getPageTitle() { return $this->page_title ; } public function setSubtitle($subtitle) { $this->subtitle = $subtitle ; } public function getSubtitle() { return $this->subtitle ; } public function getTitleIcon() { return $this->icon ; } }