$masters = Master::find()->select('id' => '1')->where('rost')->one();
— что означает эта конструкция?$master = Master::findOne(1);
<?= $master->rost ?>
$masters = Master::findAll(['rost' => 1]);
<?php foreach ($masters as $master): ?>
<?= $master->rost ?>
<?php endforeach ?>
$this->params['isHome'] = true;
<?php if (isset($this->params['isHome'])): ?>
<header>
...
</header>
<?php else: ?>
<header>
...
</header>
<?php endif ?>
<?php if (!isset($this->params['isHome'])): ?>
<header>
...
</header>
<?php endif ?>
echo LinkPager::widget([
'pagination' => $pagination,
'maxButtonCount' => 7,
'firstPageLabel' => 'Начало',
'lastPageLabel' => 'Конец',
]);