params[ 'company' ] = $company; $this->title = 'My Yii Application'; ?>
О компании
userInfo->about )) { echo $company->userInfo->about; } else { echo Yii::t('app', 'Not found'); } ?>
beginBlock('our_objects'); ?>
Наши объекты (totalCount ?>)
where([ 'specialization_pid' => 0 ]) ->with('children.children') ->orderBy('specialization_id') ->all(); ?>
endBlock(); $this->beginBlock('blog'); /** * Use $blogProvider for this block */ if(!empty( $blogProvider->models )) { ?>
$blogProvider, 'options' => [ 'class' => 'min-post-wr', ], 'itemView' => '_company_common_blog', 'itemOptions' => [ 'class' => 'min-post-block', ], 'layout' => '{items}', 'viewParams' => [ 'parent_view' => $this ], ]); ?>
endBlock(); $this->beginBlock('team'); /* * User preloaded $company->teams models */ $teams = ArrayHelper::index($company->teams, 'team_id', 'department.name'); // Group team members according to their department if(!empty( $teams )) { ?>
Состав команды
Ф.И.О. Опыт, лет
lastname . ' ' . $team->firstname ?> experience_from )) { echo date('Y') - $team->experience_from; } else { echo 'Не указан'; } ?>
Ф.И.О. Опыт, лет
lastname . ' ' . $team->firstname ?> experience_from )) { echo date('Y') - $team->experience_from; } else { echo 'Не указан'; } ?>
endBlock(); $this->beginBlock('review'); if(!empty( $commentProvider->models )) { ?>
Отзывов: totalCount ?>
$commentProvider, 'options' => [ 'class' => 'company-performer-comments-wr style', ], 'itemView' => '_company_common_review', 'itemOptions' => [ 'class' => 'company-performer-comments-bl', ], 'layout' => '{items}', ]); ?>
$company->id, 'type' => ( !empty( $this->params[ 'type' ] ) ) ? $this->params[ 'type' ] : NULL, ]) ?>
endBlock(); /*====End blocks for layout====*/ ?>