Ejemplo n.º 1
0
 protected function InitialiserReferentiels()
 {
     $this->AjouterReferentielFichiers(COL_ICONE, PATH_IMAGES . 'Communaute/', REF_FICHIERSEXTENSIONS_IMAGES);
     $mListeJeux = new MListeJeux();
     $this->AjouterReferentiel(array(COL_JEU, COL_ID), $mListeJeux, array(COL_ID, array(COL_LIBELLE, COL_LIBELLE)), true);
     $mListeCommunautes = new MListeCommunautes();
     $mListeCommunautes->AjouterColSelection(COL_ID);
     $mListeCommunautes->AjouterColSelection(COL_LIBELLE);
     $mListeCommunautes->AjouterColOrdre(COL_LIBELLE);
     $mListeCommunautes->Charger();
     $this->AjouterReferentiel(array(COL_COMMUNAUTE, COL_ID), $mListeCommunautes, array(COL_ID, array(COL_LIBELLE, COL_LIBELLE)), true);
     $mListeServeurs = new MListeServeurs();
     $this->AjouterReferentiel(array(COL_SERVEUR, COL_ID), $mListeServeurs, array(COL_ID, array(COL_LIBELLE, COL_LIBELLE)), true);
     $mListeTypesGroupes = new MListeTypesGroupes();
     $this->AjouterReferentiel(array(COL_TYPEGROUPE, COL_ID), $mListeTypesGroupes, array(COL_ID, array(COL_LIBELLE, COL_LIBELLE)), true);
 }