noalyss  Version-6.7.2
Public Member Functions
Stock_Goods_Sql Class Reference
Inheritance diagram for Stock_Goods_Sql:
Phpcompta_SQL Stock_Goods

Public Member Functions

 __construct ($cn, $p_id=-1)

Detailed Description

Definition at line 30 of file class_stock_goods_sql.php.


Constructor & Destructor Documentation

Stock_Goods_Sql::__construct ( cn,
p_id = -1 
)

Definition at line 33 of file class_stock_goods_sql.php.

References $cn, name, table, and type.

        {
                $this->table = "public.stock_goods";
                $this->primary_key = "sg_id";
                $this->date_format="DD.MM.YYYY";

                $this->name = array(
                        "sg_id" => "sg_id",
                        "j_id" => "j_id",
                        "f_id" => "f_id",
                        "sg_code" => "sg_code",
                        "sg_quantity" => "sg_quantity",
                        "sg_type" => "sg_type",
                        "sg_date" => "sg_date",
                        "sg_tech_date" => "sg_tech_date",
                        "sg_tech_user" => "sg_tech_user",
                        "sg_comment" => "sg_comment",
                        "sg_exercice" => "sg_exercice",
                        "r_id" => "r_id",
                        "c_id"=>"c_id"
                );

                $this->type = array(
                        "sg_id" => "numeric",
                        "j_id" => "numeric",
                        "f_id" => "numeric",
                        "sg_code" => "text",
                        "sg_quantity" => "text",
                        "sg_type" => "text",
                        "sg_date" => "date",
                        "sg_tech_date" => "date",
                        "sg_tech_user" => "text",
                        "sg_comment" => "text",
                        "sg_exercice" => "sg_exercice",
                        "r_id" => "numeric",
                        "c_id" => "numeric"

                );

                $this->default = array(
                        "sg_id" => "auto",
                        "sg_tech_date" => "auto",
                        "sg_user" => "auto"
                );
                global $cn;

                parent::__construct($cn, $p_id);
        }

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations