/** * @name selectByIdProduit($pIdProduit) * @param integer * @return array(DetailCommandeVO) * @desc Récupères toutes les lignes de la table ayant pour IdProduit $pIdProduit. Puis les renvoie sous forme d'une collection de DetailCommandeVO */ public static function selectByIdProduit($pIdProduit) { return DetailCommandeManager::recherche(array(DetailCommandeManager::CHAMP_DETAILCOMMANDE_ID_PRODUIT, DetailCommandeManager::CHAMP_DETAILCOMMANDE_ETAT), array('=', '='), array($pIdProduit, 0), array(''), array('')); }