PHP Classes

File: views/backend/menu-item/update.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/menu-item/update.php   Download  
File: views/backend/menu-item/update.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Website Module
Add a content page management system to a site
Author: By
Last change:
Date: 2 months ago
Size: 452 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model backend\models\MenuItem */

$this->title = Yii::t('website','Update {modelClass}: ', [
           
'modelClass' => 'Menu Item',
        ]) .
$model->id;
?>
<div class="menu-item-update">

    <header class="mb-4 pb-2 border-bottom">
        <h1><?= Html::encode($this->title) ?></h1>
    </header>

    <?= $this->render('_form', [
       
'model' => $model,
    ])
?>

</div>