PHP Classes

File: src/views/default/_menu.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Opcache   src/views/default/_menu.php   Download  
File: src/views/default/_menu.php
Role: Auxiliary script
Content type: text/plain
Description: View script
Class: Yii2 Opcache
Show and update the PHP Opcache settings
Author: By
Last change:
Date: 1 month ago
Size: 813 bytes
 

Contents

Class file image Download
<?php
use insolita\opcache\utils\Translator;

echo \
yii\bootstrap\Nav::widget([
   
'id' => 'opcache_nav_menu',
   
'options' => ['class'=>'nav nav-tabs'],
   
'encodeLabels'=>false,
   
'items' => [
        [
           
'label'=>Translator::t('status'),
           
'url'=>['/opcache/default/index']
        ],
        [
           
'label'=>Translator::t('config'),
           
'url'=>['/opcache/default/config']
        ],
        [
           
'label'=>Translator::t('file_list'),
           
'url'=>['/opcache/default/files']
        ],
        [
           
'label'=>Translator::t('black_list'),
           
'url'=>['/opcache/default/black']
        ],
        [
           
'label'=>Translator::t('reset'),
           
'url'=>['/opcache/default/reset']
        ],
    ]
                                ]);