public function run() { GridAsset::register($this->view); return $this->render('Grid'); }
<?php /** * Copyright (c) 2016. * Created by Nagaitsev Sergey * This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License * */ /** * @var $this yii\web\View * */ use xvs32x\filemanager\widgets\grid\GridAsset; GridAsset::register($this); ?> <!-- Left sideNav(paths tree)--> <?php echo xvs32x\filemanager\widgets\left_sidebar\LeftSidebar::widget(); ?> <!-- Right sideNav(upload files)--> <?php echo xvs32x\filemanager\widgets\right_sidebar\RightSidebar::widget(); ?> <div layout="column" tabindex="-1" role="main" flex=""> <!-- Main top toolbar--> <?php echo xvs32x\filemanager\widgets\top_bar\MdToolbar::widget(); ?>