Example #1
0
 function __construct(&$p_cn, $p_id = -1)
 {
     $this->table = "public.tags";
     $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");
     parent::__construct($p_cn, $p_id);
 }
 function __construct(&$p_cn, $p_id = -1)
 {
     $this->table = "public.profile_menu";
     $this->primary_key = "pm_id";
     $this->name = array("pm_id" => "pm_id", "me_code" => "me_code", "me_code_dep" => "me_code_dep", "p_id" => "p_id", "p_order" => "p_order", "p_type_display" => "p_type_display", "pm_default" => "pm_default", "pm_id_dep" => "pm_id_dep");
     $this->type = array("pm_id" => "number", "me_code" => "text", "me_code_dep" => "text", "p_id" => "number", "p_order" => "number", "p_type_display" => "text", "pm_default" => "text", "pm_id_dep" => "number");
     $this->default = array("pm_id" => "auto");
     parent::__construct($p_cn, $p_id);
 }
 function __construct(&$p_cn, $p_id = -1)
 {
     $this->table = "public.profile";
     $this->primary_key = "p_id";
     $this->name = array("p_id" => "p_id", "p_name" => "p_name", "p_desc" => "p_desc", "with_calc" => "with_calc", "with_direct_form" => "with_direct_form");
     $this->type = array("p_id" => "numeric", "p_name" => "text", "p_desc" => "text", "with_calc" => "text", "with_direct_form" => "text");
     $this->default = array("p_id" => "auto");
     parent::__construct($p_cn, $p_id);
 }
 function __construct(&$p_cn, $p_id = -1)
 {
     $this->table = "public.menu_default";
     $this->primary_key = "md_id";
     $this->name = array("md_id" => "md_id", "md_code" => "md_code", "me_code" => "me_code");
     $this->type = array("md_id" => "md_id", "md_code" => "text", "me_code" => "text");
     $this->default = array("md_id");
     global $cn;
     parent::__construct($cn, $p_id);
 }
Example #5
0
 function __construct($cn, $p_id = -1)
 {
     $this->table = "public.stock_repository";
     $this->primary_key = "r_id";
     $this->name = array("id" => "r_id", "name" => "r_name", "adress" => "r_adress", "city" => "r_city", "country" => "r_country", "phone" => "r_phone");
     $this->type = array("r_id" => "numeric", "r_name" => "text", "r_adress" => "text", "r_city" => "text", "r_country" => "text", "r_phone" => "text");
     $this->default = array("r_id" => "auto");
     global $cn;
     parent::__construct($cn, $p_id);
 }
 function __construct($cn, $p_id = -1)
 {
     $this->date_format = "DD.MM.YYYY";
     $this->table = "public.stock_change";
     $this->primary_key = "c_id";
     $this->name = array("id" => "c_id", "c_comment" => "c_comment", "c_date" => "c_date", "tech_date" => "tech_date", "tech_user" => "tech_user", "r_id" => "r_id");
     $this->type = array("c_id" => "numeric", "c_comment" => "text", "c_date" => "date", "tech_date" => "date", "tech_user" => "text", "r_id" => "numeric");
     $this->default = array("c_id" => "auto", "tech_date" => "auto");
     global $cn;
     parent::__construct($cn, $p_id);
 }
 function __construct($p_cn, $p_id = -1)
 {
     $this->table = "public.key_distribution_activity";
     $this->primary_key = "ka_id";
     $this->name = array("id" => "ka_id", "detail" => "ke_id", "activity" => "po_id", "plan" => "pa_id");
     $this->type = array("ka_id" => "numeric", "ke_id" => "numeric", "po_id" => "numeric", "pa_id" => "numeric");
     $this->default = array("ka_id" => "auto");
     parent::__construct($p_cn, $p_id);
 }
 function __construct(Database &$p_cn, $p_id = -1)
 {
     parent::__construct($p_cn, $p_id);
 }