<?php
 
include('/path/to/Parser.class.php');
 
 
/** Function to make the output in alfabetic order. */
 
function asc($a,$b){
 
    return strcmp($a['nombre'],$b['nombre']);
 
}
 
 
/** Instance the parser */
 
$parser = new Parser();
 
 
/** Set the path to the script, class to parse. */
 
$parser->set_archivo('/path/to/archive.php');
 
 
/** Set the colors of the headers, left panel and font of headers */
 
$parser->set_colores('#003399','#0099CC','#FFFFFF');
 
 
/** Parse the script, class. */
 
$parser->parse();
 
 
/** Show the report */
 
echo $parser->ver_reporte();
 
?>
 
 |