params[ 'company' ] = $company; $this->title = 'My Yii Application'; ?>
О компании
userInfo->about ?>
beginBlock('our_objects'); ?>
Наши объекты (totalCount ?>)
endBlock(); $this->beginBlock('blog'); /** * Use $blogProvider for this block */ ?>
$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 ?>
Состав команды
Ф.И.О. Опыт, лет
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'); ?>
Отзывов: 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====*/ ?>