/**
  * @name exportProduitCategorie($pParam)
  * @return CSV
  * @desc Retourne la liste des produits liés à la catégorie
  */
 public function exportProduitCategorie($pParam)
 {
     $lVr = CategorieProduitValid::validDelete($pParam);
     if ($lVr->getValid()) {
         $lCategorie = CategorieProduitManager::select($pParam['id']);
         $lProduits = GestionCategorieControleur::listeProduitCategorie($pParam['id']);
         $lCSV = new CSV();
         $lCSV->setNom($lCategorie->getNom() . '_:_Liste_des_produits.csv');
         // Le Nom
         // L'entete
         $lEntete = array("Nom du Produit");
         $lCSV->setEntete($lEntete);
         $lContenuTableau = array();
         foreach ($lProduits as $lProduit) {
             array_push($lContenuTableau, array($lProduit->getNom()));
         }
         $lCSV->setData($lContenuTableau);
         // Export en CSV
         $lCSV->output();
     }
     return $lVr;
 }