+ }
+
+ public function chargerInfos($v1=NULL, $v2=NULL)
+ {
+ $this->authentifier($v1, $v2);
+
+ if (!$this->existe())
+ return;
+
+ $res = pg_query_params("SELECT * FROM participants WHERE id = $1", array($this->id));
+
+ if (pg_result_status($res) == PGSQL_TUPLES_OK && pg_num_rows($res) === 1)
+ $this->info = pg_fetch_object($res);