File: index.php

Recommend this page to a friend!
  Classes of Eugene Panin  >  OCFLib  >  index.php  >  Download  
File: index.php
Role: ???
Content type: text/plain
Description: Example of using OCF to handle menus
Class: OCFLib
Author: By
Last change:
Date: 19 years ago
Size: 279 bytes


Class file image Download
require 'Menulib.php';
require 'OCFLib.php';
<body bgcolor=white>
$ocf = new OCFParser('./cat.xml');
$root =& $ocf->getMenu();

$menuid = ($menuid)?$menuid:'';
echo $root->display($menuid,"$PHP_SELF?menuid=");

For more information send a message to info at phpclasses dot org.