Login   Register  
PHP Classes
elePHPant
Icontem

File: include.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrea Iacoponi  >  ai_DB_table  >  include.inc.php  >  Download  
File: include.inc.php
Role: Auxiliary script
Content type: text/plain
Description: Conditional include of field data type
Class: ai_DB_table
Access and manipulation of MySQL table records
Author: By
Last change:
Date: 2003-11-27 08:59
Size: 1,176 bytes
 

Contents

Class file image Download
<?php

/*
      $RCSfile: include.inc.php,v $

   Description: Include (conditionally) the DB field types required.
                Costants may be define to skip unwanted functionalities
                and speed up loading.

       $Author: ato $

     $Revision: 1.1 $

         $Name:  $

         $Date: 2003/11/04 17:48:07 $
     
     Copyright: see the README file.
*/
    
    
$this_directory dirname__FILE__ ) . "/";

    
// Base class. Must be included
    
include_once $this_directory "ai_DB_field.inc.php";
    
    if( !
defined"SKIP_AI_DATE_FLD" ) )
        include_once 
$this_directory "ai_date_fld.inc.php";

    if( !
defined"SKIP_AI_DATETIME_FLD" ) )
        include_once 
$this_directory "ai_datetime_fld.inc.php";
    
    if( !
defined"SKIP_AI_ENUM_FLD" ) )
        include_once 
$this_directory "ai_enum_fld.inc.php";

    if( !
defined"SKIP_AI_FLAG_FLD" ) ){
        include_once 
$this_directory "ai_text_fld.inc.php";
        include_once 
$this_directory "ai_flag_fld.inc.php";
    }

    if( !
defined"SKIP_AI_NUMERIC_FLD" ) )
        include_once 
$this_directory "ai_numeric_fld.inc.php";

    if( !
defined"SKIP_AI_TEXT_FLD" ) )
        include_once 
$this_directory "ai_text_fld.inc.php";

?>