PHP Classes

File: documentation/build.php

Recommend this page to a friend!
  Classes of Manuel Lemos   Simple Authentication and Security Layer   documentation/build.php   Download  
File: documentation/build.php
Role: Example script
Content type: text/plain
Description: Documentation build script
Class: Simple Authentication and Security Layer
Single API for standard authentication mechanisms
Author: By
Last change:
Date: 1 year ago
Size: 811 bytes
 

Contents

Class file image Download
#!/usr/bin/php -q
<?php
/*
 * @(#) $Header: /opt2/ena/metal/sasl/documentation/build.php,v 1.1 2004/10/05 04:09:05 mlemos Exp $
 *
 */

   
require("../../xmlparser/xml_parser.php");
    require(
"../../metal/metal_compiler.php");

   
set_time_limit(0);
   
$compiler=new metal_compiler_class;
    if(!
$compiler->Compile(array(
       
"Output"=>"documentation.output",
       
"Input"=>"documentation.input",
       
"Bindings"=>"include/php.bindings",
       
"TargetLanguage"=>"PHP",
       
"CacheDirectory"=>"cache",
       
"CacheParsedFiles"=>1,
       
"IncludePath"=>array("../../metal")
    ),
$result))
    {
        echo
"Error: ".$compiler->error." (File \"".$compiler->error_file."\", Line ".$compiler->error_line.", Column ".$compiler->error_column.", Byte ".$compiler->error_byte_index.").\n";
        exit;
    }
    echo
sprintf("OK. Timer: %.2fs\n",$compiler->timer);
?>