38 $this->
table =
"public.stock_goods";
39 $this->primary_key =
"sg_id";
40 $this->date_format=
"DD.MM.YYYY";
46 "sg_code" =>
"sg_code",
47 "sg_quantity" =>
"sg_quantity",
48 "sg_type" =>
"sg_type",
49 "sg_date" =>
"sg_date",
50 "sg_tech_date" =>
"sg_tech_date",
51 "sg_tech_user" =>
"sg_tech_user",
52 "sg_comment" =>
"sg_comment",
53 "sg_exercice" =>
"sg_exercice",
63 "sg_quantity" =>
"text",
66 "sg_tech_date" =>
"date",
67 "sg_tech_user" =>
"text",
68 "sg_comment" =>
"text",
69 "sg_exercice" =>
"sg_exercice",
75 $this->
default = array(
77 "sg_tech_date" =>
"auto",
96 $this->date_format=
"DD.MM.YYYY";
97 $this->
table =
"public.stock_change";
98 $this->primary_key =
"c_id";
102 "c_comment" =>
"c_comment",
103 "c_date" =>
"c_date",
104 "tech_date"=>
"tech_date",
105 "tech_user"=>
"tech_user",
111 "c_comment" =>
"text",
118 $this->
default = array(
120 "tech_date" =>
"auto"
ORM abstract of the table public.stock_change.
__construct($cn, $p_id=-1)
ORM abstract of the table public.stock_goods.
__construct($cn, $p_id=-1)
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...