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

Public Member Functions

 __construct ($cn, $p_id=-1)

Detailed Description

Definition at line 84 of file class_stock_goods_sql.php.


Constructor & Destructor Documentation

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

Definition at line 87 of file class_stock_goods_sql.php.

References $cn, name, table, and type.

        {
                $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);
        }

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