noalyss
Version-6.7.2
|
Public Member Functions | |
__construct ($cn, $p_id=-1) |
Definition at line 30 of file class_stock_sql.php.
Stock_Sql::__construct | ( | $ | cn, |
$ | p_id = -1 |
||
) |
Definition at line 31 of file class_stock_sql.php.
References $cn, name, table, and type.
{ $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); }