get('seo'); $this->params['entity'] = Service::className(); $this->params['entity_id'] = $model->id; $moduleComment = \Yii::$app->getModule('comments'); $moduleComment->inputOptions = array_merge($moduleComment->inputOptions, ['entity_id' => [ 'type' => 'hiddenInput', 'options' => ['value' => $model->id], ], 'entity' => [ 'type' => 'hiddenInput', 'options' => ['value' => Service::className()], ]]); $moduleQuestion = \Yii::$app->getModule('questions'); $moduleQuestion->inputOptions += ['service_id' => [ 'type' => 'hiddenInput', 'options' => ['value' => $model->id], ]]; if ($model->parent !== null){ if ($model->parent->parent !== null){ $this->params['breadcrumbs'][] = [ 'label' => $model->parent->parent->title, 'url' => Url::to(['alias' => $model->parent->parent->language->alias]), ]; } $this->params['breadcrumbs'][] = [ 'label' => $model->parent->title, 'url' => Url::to(['alias' => $model->parent->language->alias]), ]; } $this->params[ 'breadcrumbs' ][] = (!empty($seo->h1)) ? $seo->h1 :$model->title; ?>

h1)) ? $seo->h1 :$model->title?>

body?>
comments as $comment){?>
name?>
comment?>
created_at)?>
questions as $question){?>
name?>
question?>
doctor !== null){?>
doctor->position?>doctor->name?>
answer?>