Пример #1
0
<?php

/* @var $this \yii\web\View */
/* @var $content string */
use yii\helpers\Html;
use worstinme\uikit\Nav;
use worstinme\uikit\NavBar;
use worstinme\uikit\Alert;
use worstinme\uikit\Breadcrumbs;
use yii\helpers\ArrayHelper;
\worstinme\zoo\assets\AdminAsset::register($this);
$this->beginPage();
?>
<!DOCTYPE html>
<html lang="<?php 
echo Yii::$app->language;
?>
">
<head>
    <meta charset="<?php 
echo Yii::$app->charset;
?>
">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php 
echo Html::csrfMetaTags();
?>
    <title><?php 
echo Html::encode($this->title);
?>
</title>
Пример #2
0
 public function render($view, $params = [])
 {
     \worstinme\zoo\assets\AdminAsset::register($this->view);
     return parent::render($view, $params);
 }