params[ 'user' ] = $user; $this->title = 'My Yii Application'; ?>
minImg($portfolio->cover, '720', '280')) ?>
view_count ?>
XX.X
name ?>
gallery ) || !empty( $portfolio->gallery->photo )) { ?>
    gallery->photo) as $one_photo ) { ?>
preview ?>
description )) { ?>
Развернуть
description )) { ?>
description ?>
Свернуть
$this, 'model' => $portfolio::className(), 'model_id' => $portfolio->portfolio_id, 'comment_class' => \common\modules\comment\models\Comment::className(), 'rating_class' => \common\modules\comment\models\Rating::className(), 'class_options' => [ 'scenario' => is_int(\Yii::$app->user->getId()) ? \common\modules\comment\models\Comment::SCENARIO_USER : \common\modules\comment\models\Comment::SCENARIO_GUEST, 'user_id' => \Yii::$app->user->getId(), 'guestComment' => true, 'status' => \common\modules\comment\models\Comment::STATUS_ACTIVE, ], 'list_options' => [ 'view' => 'list-comment', ], 'form_options' => [ 'view' => 'form-comment', 'tag' => 'div', 'class' => 'artbox_comment_form', ], 'options' => [ 'class' => 'new-portf-comments-wr style', ], ]); ?>