itstructure /
yii2-admin-module
| 1 | <?php |
||
| 2 | |||
| 3 | /* @var $this Itstructure\AdminModule\components\AdminView */ |
||
| 4 | /* @var $content string */ |
||
| 5 | |||
| 6 | use yii\helpers\Html; |
||
| 7 | use Itstructure\AdminModule\Module; |
||
| 8 | use Itstructure\AdminModule\widgets\menu\{MainMenu, AdminMenu}; |
||
| 9 | |||
| 10 | if (!isset($this->params['subTitle'])) { |
||
| 11 | $this->params['subTitle'] = ''; |
||
| 12 | } |
||
| 13 | |||
| 14 | ?> |
||
| 15 | <?php $this->beginPage() ?> |
||
| 16 | <!DOCTYPE html> |
||
| 17 | <html> |
||
| 18 | <head> |
||
| 19 | <meta charset="utf-8"> |
||
| 20 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||
| 21 | <title><?php echo Html::encode($this->title) ?></title> |
||
| 22 | <?php echo Html::csrfMetaTags() ?> |
||
|
0 ignored issues
–
show
|
|||
| 23 | <?php $this->head() ?> |
||
| 24 | <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> |
||
| 25 | </head> |
||
| 26 | <body class="<?php echo $this->skin ?> <?php echo $this->bodyLayout ?>"> |
||
| 27 | <?php $this->beginBody() ?> |
||
| 28 | <div class="wrapper"> |
||
| 29 | |||
| 30 | <header class="main-header"> |
||
| 31 | |||
| 32 | <a href="<?php echo $this->homeUrl ?>" class="logo"> |
||
| 33 | <span class="logo-mini"><b><?php echo $this->shotCompanyName ?></b></span> |
||
| 34 | <span class="logo-lg"><b><?php echo $this->companyName ?></b></span> |
||
| 35 | </a> |
||
| 36 | <!-- Header Navbar --> |
||
| 37 | <nav class="navbar navbar-static-top" role="navigation"> |
||
| 38 | <!-- Sidebar toggle button --> |
||
| 39 | <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button"> |
||
| 40 | <span class="sr-only">Toggle navigation</span> |
||
| 41 | </a> |
||
| 42 | <!-- Navbar Right Menu --> |
||
| 43 | <div class="navbar-custom-menu"> |
||
| 44 | <ul class="nav navbar-nav"> |
||
| 45 | <?php echo AdminMenu::widget([ |
||
| 46 | 'user' => $this->params['user'], |
||
| 47 | 'profileLink' => $this->profileLink, |
||
| 48 | 'signOutLink' => $this->signOutLink, |
||
| 49 | 'userBody' => $this->userBody, |
||
| 50 | ]) ?> |
||
| 51 | </ul> |
||
| 52 | </div> |
||
| 53 | </nav> |
||
| 54 | </header> |
||
| 55 | |||
| 56 | <aside class="main-sidebar"> |
||
| 57 | <section class="sidebar"> |
||
| 58 | <?php echo MainMenu::widget($this->mainMenuConfig); ?> |
||
| 59 | </section> |
||
| 60 | </aside> |
||
| 61 | |||
| 62 | <div class="content-wrapper"> |
||
| 63 | <section class="content-header"> |
||
| 64 | <h1> |
||
| 65 | <?php echo $this->title ?> |
||
| 66 | <small><?php echo $this->params['subTitle'] ?></small> |
||
| 67 | </h1> |
||
| 68 | <?php echo \yii\widgets\Breadcrumbs::widget([ |
||
| 69 | 'tag' => 'ol', |
||
| 70 | 'homeLink' => [ |
||
| 71 | 'label' => Module::t('main', 'Home'), |
||
| 72 | 'url' => $this->homeUrl, |
||
| 73 | ], |
||
| 74 | 'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], |
||
| 75 | ]) ?> |
||
| 76 | </section> |
||
| 77 | |||
| 78 | <section class="content container-fluid"> |
||
| 79 | <?php echo $content ?> |
||
| 80 | </section> |
||
| 81 | </div> |
||
| 82 | |||
| 83 | <footer class="main-footer"> |
||
| 84 | <div class="pull-right hidden-xs"> |
||
| 85 | <b>Version</b> <?php echo \Yii::$app->version ?> |
||
| 86 | </div> |
||
| 87 | <strong>Copyright |
||
| 88 | © <?php echo date('Y') ?> <?php echo $this->companyName ?></strong> |
||
| 89 | All rights reserved. |
||
| 90 | </footer> |
||
| 91 | |||
| 92 | <div class="control-sidebar-bg"></div> |
||
| 93 | </div> |
||
| 94 | <?php $this->endBody() ?> |
||
| 95 | </body> |
||
| 96 | </html> |
||
| 97 | <?php $this->endPage() ?> |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.