New: Ajout fonction fetch_projet

This commit is contained in:
Laurent Destailleur 2005-02-10 23:25:05 +00:00
parent 5e67cac278
commit d88aaa27ca

View File

@ -249,9 +249,9 @@ class Fichinter
}
}
/*
*
*
* \brief Charge la liste des clients depuis la base
*
*/
function fetch_client()
@ -260,6 +260,18 @@ class Fichinter
$client->fetch($this->societe_id);
$this->client = $client;
}
/*
* \brief Charge les infos du projet depuis la base
*
*/
function fetch_projet()
{
$projet = new Project($this->db);
$projet->fetch($this->projet_id);
$this->projet = $projet->title;
}
}
?>