Пример #1
0
<?php

namespace app\view;

spl_autoload_register();
use app\view;
$req = view\ViewHelper::getRequest();
echo "Yes!<br>";
echo $req->getFeedBackString();
Пример #2
0
<?php

namespace app\view;

spl_autoload_register();
use app\view;
$req = view\ViewHelper::getRequest();
$theme = view\ViewHelper::getTheme();
$namespaceRoot = view\ViewHelper::getNamespaceRoot();
$stylesheet = '"' . $namespaceRoot . '/view/themes/' . $theme . '/css/stylesheet.css"';
$navigation = "includes/nav_home.php";
$content = "includes/loginBasic_form.php";
include "themes/{$theme}/masterpage.php";
?>
 <?php