/** * With parameters, initialize the table and returns $this. * Without parameters : returns table. * * @param string $table * @return \Glue\DB\Fragment_Query_Insert */ public function table($table = null) { if (func_num_args() > 0) { $this->table = \Glue\DB\DB::table($table, null); return $this; } else { return $this->table; } }