PHP Classes

File: views/backend/metadata-definition/_view.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/metadata-definition/_view.php   Download  
File: views/backend/metadata-definition/_view.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: 1 month ago
Size: 433 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

$module = $this->context->module->id;
?>

<li id="<?= $model->id ?>">
    <h3><?= Html::a(Yii::t('app', '{label} {name}', [
           
'label' => Html::encode($model->label),
           
'name' => Html::tag('span', '(' . Html::encode($model->name) . ')', ['class' => 'text-muted']),
        ]), [
"/$module/metadata-definition/update", 'id' => $model->id]) ?></h3>
    <p><?= $model->type ?></p>
</li>