/** * Загрузка шаблона * @param Status $status статус */ public function loadStatusTpl(Status $status) { $name = Yii::getAlias($this->tplPath . '/' . $status->getTplName()); $status->tplHtml = file_get_contents($name); }