Exemple #1
0
 $newDoc->contenu_en = $textContEn;
 $newDoc->auteur = $textAuteur;
 $newDoc->ref_biblio = $textRefBib;
 $newDoc->date = $textDate;
 $newDoc->date_libre = $textDateLibre;
 $newDoc->reference = $textRef;
 $newDoc->keyw = $textKeyw;
 $newDoc->tarif = $textTarif;
 $newDoc->poids = $textPoids;
 //désactivé le 13/03/2009 $newDoc->pwd=$textPwd;
 $newDoc->acces_res = $radioAcces;
 $newDoc->publiee = $radioPubliee;
 $newDoc->une = $radioUne;
 $newDoc->numpara = $numpara;
 if (!$numpara) {
     $numpara = $newDoc->creerParagraphe();
     $newDoc->creerDoc();
     $cree = 1;
 } else {
     $newDoc->modifierParagraphe();
     $newDoc->modifierDoc();
 }
 if (is_array($selectCateg)) {
     $newDoc->listcateg = $selectCateg;
     $newDoc->associerFormaCateg();
 }
 if (is_array($selectSscateg)) {
     $newDoc->listsscateg = $selectSscateg;
     $newDoc->associerFormaSscateg();
 }
 // Le fichier