PHP Classes

File: rsd.php

Recommend this page to a friend!
  Classes of Luis I. Larrateguy   XML Menu   rsd.php   Download  
File: rsd.php
Role: Example script
Content type: text/plain
Description: Test all...
Class: XML Menu
Generate hierarchic menu defined in XML using XSLT
Author: By
Last change: some more comments inside the Example script
Date: 20 years ago
Size: 480 bytes
 

Contents

Class file image Download
<?PHP
require_once("menu.class.php");
/*
*
*
*
*
*
*
*
* */




$mymenu = new menu("file://c:/My intranet/test/");
$mymenu->setMenu();

$header = <<< end
<html>
    <head>
        <title>Menu 0.5.2</title>
        <link media="screen" rel="stylesheet" href="rsd.css" />
        <script language="javascript" src="rsd.js"></script>
    </head>
    <body>
end;

$footer = <<< end
</body>
</html>
end;

    echo
$header;
    echo
$mymenu->getMenu();
    echo
$footer;


?>