Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 require_once('class_database.php');
00032 require_once('ac_common.php');
00033 require_once 'class_phpcompta_sql.php';
00034
00035
00036
00037
00038 class Profile_sql extends Phpcompta_SQL
00039 {
00040
00041
00042 function __construct(& $p_cn, $p_id = -1)
00043 {
00044 $this->table = "public.profile";
00045 $this->primary_key = "p_id";
00046
00047 $this->name = array(
00048 "p_id" => "p_id"
00049 , "p_name" => "p_name"
00050 , "p_desc" => "p_desc"
00051 , "with_calc" => "with_calc"
00052 , "with_direct_form" => "with_direct_form"
00053 );
00054 $this->type = array(
00055 "p_id" => "numeric"
00056 , "p_name" => "text"
00057 , "p_desc" => "text"
00058 , "with_calc" => "text"
00059 , "with_direct_form" => "text"
00060 );
00061 $this->default = array(
00062 "p_id" => "auto",
00063 );
00064 global $cn;
00065
00066 parent::__construct($cn,$p_id);
00067
00068 }
00069
00070 }
00071
00072
00073 ?>