PHP Classes

File: doc/app/side.php

Recommend this page to a friend!
  Classes of Everton da Rosa   XtPHP   doc/app/side.php   Download  
File: doc/app/side.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: XtPHP
General purpose library of utility classes
Author: By
Last change:
Date: 9 years ago
Size: 530 bytes
 

Contents

Class file image Download
<?php

$files
= scandir($xml_dir);

foreach(
$files as $file)
{
    if(
fnmatch("*.xml", $file))
    {
       
$class[] = $file;
    }
}

foreach(
$class as $file)
{
   
$xml = simplexml_load_file($xml_dir.$file);
   
   
$class_name = $xml->class['name'];
    echo
"<li><a href='?class=$file'>$class_name</a></li>";
    echo
"<ul>";
    foreach(
$xml->class->methods as $functions)
    {
        foreach(
$functions as $method)
        {
           
$method_name = $method['name'];
            echo
"<li><a href='?class=$file&method=$method_name'>$method_name</a></li>";
        }
    }
    echo
"</ul>";
}

?>