|
noalyss
Version-6.7.2
|
Public Member Functions | |
| __construct ($cn, $p_id=-1) | |
Definition at line 84 of file class_stock_goods_sql.php.
| 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);
}