diff --git a/include/cfgtags.inc.php b/include/cfgtags.inc.php new file mode 100644 index 000000000..01f7c166a --- /dev/null +++ b/include/cfgtags.inc.php @@ -0,0 +1,27 @@ + diff --git a/include/class_phpcompta_sql.php b/include/class_phpcompta_sql.php index 4d3210449..da335b369 100644 --- a/include/class_phpcompta_sql.php +++ b/include/class_phpcompta_sql.php @@ -273,7 +273,7 @@ class phpcompta_sql *@see seek *@return object */ - public function next($ret,$i) { + public function next($ret,$i) { $array=$this->cn->fetch_array($ret,$i); return $this->from_array($array); } diff --git a/include/class_tag.php b/include/class_tag.php new file mode 100644 index 000000000..c759ff942 --- /dev/null +++ b/include/class_tag.php @@ -0,0 +1,35 @@ +data=new Tag_SQL($p_cn); + } + function show_list() + { + + } +} + +?> diff --git a/include/class_tag_sql.php b/include/class_tag_sql.php new file mode 100644 index 000000000..a0bce22a2 --- /dev/null +++ b/include/class_tag_sql.php @@ -0,0 +1,56 @@ +column_name,"email"=>"column_name_email","val3"=>0); */ + + function __construct(& $p_cn, $p_id = -1) + { + $this->table = "public.tag"; + $this->primary_key = "t_id"; + + $this->name = array( + "t_id" => "t_id" + , "t_tag" => "t_tag" + , "t_description" => "t_description" + ); + $this->type = array( + "t_id" => "numeric" + , "t_tag" => "text" + , "t_description" => "text" + ); + $this->default = array( + "t_id" => "auto", + ); + global $cn; + + parent::__construct($cn,$p_id); + + } + +} +?>