params[ 'company' ] = $user; $this->title = 'My Yii Application'; $rating = $portfolio->getRatingValue(); if(!empty( $portfolio_user )) { $portfolio_user_gallery = $portfolio->ShowGallery($portfolio_user->gallery->photo); } ?>
$user->id, 'portfolio_id' => $portfolio->portfolio_id, ]); } ?>
minImg(ArrayHelper::getValue($portfolio_user_gallery, 0, ''), '720', '280')); } else { echo Html::img($portfolio->minImg($portfolio->cover, '720', '280')); } ?>
view_count ?>
comments) ?>
'rating_portfolio', 'value' => $rating, 'pluginOptions' => [ 'displayOnly' => true, 'size' => 'xxs', 'min' => 0, 'max' => 10, 'stars' => 10, ], ]); ?>
name ?>
gallery ) || !empty( $portfolio->gallery->photo ) )) { ?>
    ShowGallery($portfolio->gallery->photo) as $one_photo) { ?>
portfolioGallery ) && !empty( $portfolio_user->portfolioGallery->caption )) { echo Html::tag('div', $portfolio_user->portfolioGallery->caption, [ 'class' => 'new-portfolio-editor' ]); } else { echo Html::tag('div', $portfolio->preview, [ 'class' => 'new-portfolio-editor' ]); if(!empty( $portfolio->description )) { ?>
Развернуть
description )) { ?>
description ?>
Свернуть
portfolioUsers )) { ?>

Участники проекта:

portfolioUsers as $portfolioUser) { $gallery = $portfolio->ShowGallery($portfolioUser->gallery->photo); ?>

minImg(ArrayHelper::getValue($gallery, 0, ''), 'original'), [ 'class' => 'portfolio_user_image' ]) ?>

user->name . ': ' . $portfolioUser->portfolioGallery->caption ?>
$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', ], ]); ?>