table="public.form_detail"; $this->primary_key="fo_id"; /* * List of columns */ $this->name=array( "fo_id"=>"fo_id" , "fo_fr_id"=>"fo_fr_id" , "fo_pos"=>"fo_pos" , "fo_label"=>"fo_label" , "fo_formula"=>"fo_formula" ); /* * Type of columns */ $this->type=array( "fo_id"=>"numeric" , "fo_fr_id"=>"numeric" , "fo_pos"=>"numeric" , "fo_label"=>"text" , "fo_formula"=>"text" ); $this->default=array( "pk composé"=>"auto" ); $this->date_format="DD.MM.YYYY"; parent::__construct($p_cn, $p_id); } }