table = "public.forecast_item"; $this->primary_key = "fi_id"; /* * List of columns */ $this->name = array( "fi_id" => "fi_id" , "fi_text" => "fi_text" , "fi_account" => "fi_account" , "fi_card" => "fi_card" , "fi_order" => "fi_order" , "fc_id" => "fc_id" , "fi_amount" => "fi_amount" , "fi_debit" => "fi_debit" , "fi_pid" => "fi_pid" ); /* * Type of columns */ $this->type = array( "fi_id" => "numeric" , "fi_text" => "text" , "fi_account" => "text" , "fi_card" => "numeric" , "fi_order" => "numeric" , "fc_id" => "numeric" , "fi_amount" => "numeric" , "fi_debit" => "char" , "fi_pid" => "numeric" ); $this->default = array( "fi_id" => "auto" ); $this->date_format = "DD.MM.YYYY"; parent::__construct($p_cn, $p_id); } }