Go to the documentation of this file.00001 <?php
00002 require_once('class_database.php');
00003 require_once('ac_common.php');
00004 require_once 'class_phpcompta_sql.php';
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 class Tag_SQL extends Phpcompta_SQL
00027 {
00028
00029
00030 function __construct(& $p_cn, $p_id = -1)
00031 {
00032 $this->table = "public.tags";
00033 $this->primary_key = "t_id";
00034
00035 $this->name = array(
00036 "t_id" => "t_id"
00037 , "t_tag" => "t_tag"
00038 , "t_description" => "t_description"
00039 );
00040 $this->type = array(
00041 "t_id" => "numeric"
00042 , "t_tag" => "text"
00043 , "t_description" => "text"
00044 );
00045 $this->default = array(
00046 "t_id" => "auto",
00047 );
00048 global $cn;
00049
00050 parent::__construct($cn,$p_id);
00051
00052 }
00053
00054 }
00055 ?>