101,6 → 101,17 |
} |
|
//+---------------------------------------------recherche simple-------------------------------------+ |
/* |
grep-friendly: ICI->executerRechercheSimple() |
En effet, cette méthode n'est jamais invoquée explicitement. |
Le processus est le suivant: |
* URL = index.php?type_nom=...&referentiel=..&module=recherche&action=rechercheSimple |
* AppControleur::initialiser() |
* `-> AppControleur::$parametres['action'] = $_GET['action'] |
* `-> AppControleur::executerModule() |
* `-> effecture $module->$action() |
* qui nous appelle ici |
*/ |
public function executerRechercheSimple() { |
$donnees['type_nom'] = $this->type_nom; |
$donnees['nom'] = $this->nom; |
123,6 → 134,7 |
$donnees['message']['nom_approche'] = $presence; |
} |
} |
|
$this->executerAccueil($donnees); |
if (Registre::get('resultats')) { |
$_GET['resultat'] = $this->type_resultat; |
259,8 → 271,7 |
private function obtenirChampsPresence() { |
$tableau_champs_presence = array(); |
$referentiel = Registre::get('parametres.referentiel'); |
$champs_presence = Config::get($referentiel.'.champsPresence'); |
$champs_presence_spl = explode('|', $champs_presence); |
$champs_presence_spl = explode('|', Config::get($referentiel.'.champsPresence')); |
foreach($champs_presence_spl as $champ) { |
$label_param_champ = explode(':', $champ); |
$tableau_champs_presence[] = array('param' => $label_param_champ[1], |