Location: PHPKode > scripts > OCFLib > ocflib/index.php
<?
error_reporting(0);
require 'Menulib.php';
require 'OCFLib.php';
?>
<html>
<body bgcolor=white>
<?
$ocf = new OCFParser('./cat.xml');
$root =& $ocf->getMenu();

$menuid = ($menuid)?$menuid:'';
echo $root->display($menuid,"$PHP_SELF?menuid=");
?>
</body>
</html>
Return current item: OCFLib