PHP Classes

File: tests/mvc/views/shared/header.php

Recommend this page to a friend!
  Classes of Aleksey   PHP MVC Project   tests/mvc/views/shared/header.php   Download  
File: tests/mvc/views/shared/header.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP MVC Project
Framework that implements the MVC design pattern
Author: By
Last change:
Date: 6 years ago
Size: 742 bytes
 

Contents

Class file image Download
<?php
use PhpMvc\View;

$model = '';

View::injectModel($model);
?>
<!--View file: <?=View::getViewFile()?>-->
<header>
  <nav class="navbar navbar-default">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="/">
          <i class="glyphicon glyphicon-tasks"></i>
          <?=$model?>
</a>
      </div>
    </div>
  </nav>
</header>