For page like Index.php .
<?php
/**
* @page module_name Module Name
@subpage sub_page_name
@author Pittu
@date 03-01-2021
\par Explanation
Explain the sub page's role in the system in general.\n
This is in that particular page
*/
/**
* @file index.php
* Front to the dynamic workflow application. This file doesn't do anything, but loads
* the class classWorkFlow and calls "displayWorkflow" method
*
*/
require_once("nodes.php");
require_once("classWorkFlow.php");
/// Title of HTML page
$pageTitle = "CodePen - Work Flow Chart Dynamic";//< pageTitle
?>
<!-- http://sreelp/pjt/tests/flowChart/chart-1/dist/dynamic -->
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title><?php echo $pageTitle;?></title>
<link rel="stylesheet" href="./../style.css">
<style>
div{
text-align:left;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="container">
<ol class="organizational-chart">
<li>
<div>
<h1><Project Name></h1>
</div>
<?php
$cls = new \ProjectWorkFlow\ClassWorkFlow();
$cls->displayChildNodes($flowNodes, 2);
$cls->showTree();
?>
</li>
</ol>
</div>
</div>
</body>
</html>
|
|