PHP Classes

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

Recommend this page to a friend!
  Classes of Aleksey   PHP MVC Project   tests/mvc/views/shared/_default.php   Download  
File: tests/mvc/views/shared/_default.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: 737 bytes
 

Contents

Class file image Download
<?php
use PhpMvc\Html;
use
PhpMvc\View;
?>
<!--View file: <?=View::getViewFile()?>-->
<html>
    <head>
        <title><?=Html::getTitle('Default layout')?> - PHP MVC Test project</title>
    </head>
    <body>
        <?php Html::render('header', 'PHP MVC'); ?>

        <div class="container">
            <h1>Default layout</h1>

            <?=Html::validationSummary()?>

            <?php Html::renderBody(); ?>

            <h3>Model</h3>
            <?php var_dump(View::getModel()); ?>

            <h3>ViewData</h3>
            <?php var_dump(View::getData()); ?>

            <h3>ModelState</h3>
            <?php var_dump(View::getModelState()); ?>
</div>

        <?php Html::render('footer'); ?>
</body>
</html>