= \Yii::$app->session->getFlash('error') ?>
session->hasFlash('success')): ?>
= \Yii::$app->session->getFlash('success') ?>
= $content ?>
getAuthorizationChecker()->isGrantedAsProducer($userCurrent); $isHome = (Yii::$app->controller->id == 'site' && \Yii::$app->controller->action->id == 'index'); $producer = null; if ($isUserCurrentGrantedAsProducer) { $producer = Producer::searchOne(['id' => \Yii::$app->user->identity->id_producer]); } ?> beginPage() ?>