ajout de la fonction fetch_contact pour rcuprer le dtail d'un contact propal, commande,

facture...
This commit is contained in:
Regis Houssin 2006-06-19 16:50:51 +00:00
parent 4b6b693aa3
commit fc7dfdf863

View File

@ -319,6 +319,19 @@ class CommonObject
return $result;
}
/**
* \brief Retourne le détail d'un contact
* \param id id du contact
* \return array détail du contact
*/
function fetch_contact($id)
{
$idcontact = $id;
$contact = new Contact($this->db);
$contact->fetch($idcontact);
$this->contact = $contact;
}
}