Beispiel #1
0
<?php

/**************
 * THIS INDEX PG
 * IS FOR TESTING
 ****************/
include "Library/Core/Base/ASPM.php";
//include("Library/Core/Base/Viewer.php");
$rendData = array(array("FirstName" => "Tyler", "LastName" => "Barnes", "NickName" => "DontHaveOne"), array("FirstName" => "Sarah", "LastName" => "Weemhoff", "NickName" => "SarahSoda"));
$v = new Viewer(null, $rendData, null, null, "This is a TEST", "Home", "", null, "tmp", false, false);
$v->ResponseInit();
$v->ResponsePrep();
$v->ConfigProcessor();
$v->ProcessViewData();
$a = $v->ResponseAssemble(false);
echo $a;
//var_dump(implode("/", explode("\\", __FILE__)));
//echo "<html><head></head><body><pre>";
//include_once("Library/Core/Base/Viewer.php");
//$obj = new Viewer(array(), null, false, null, false, array(), "TESTING PAGE TITLE", array());
//var_dump($obj);
//$obj->RenderAll();
//echo "</pre></body></html>";
//include_once("Library/Configuration/base.config.php");
//include_once("Library/Core/Data/DBConn.php");
//include_once("App/Includes/Build/Processor.php");
//$a = new Processor();
//$a->setTemplatedObject(new DBConn());
//$yesno = $a->PreProcess();
//echo "<br /><br />";
//var_dump($a);