16,48 → 16,8 |
} |
|
protected function getResultatsPourMasque($masque) { |
$resultats['viola his'] = array( |
'entete' => array( |
'masque' => 'nom_sci=%viola% his%', |
'depart' => 0, |
'limite' => 3000, |
'total' => 5), |
'resultat' => array( |
'72291' => array( |
'nom_sci' => 'Viola hispida Lapeyr. [1813]', |
'href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72291', |
'retenu' => false, |
'nom_retenu' => 'Viola bubanii Timb.-Lagr. [1852]', |
'nom_retenu.id' => '72117', |
'nom_retenu.href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72117'), |
'72288' => array( |
'nom_sci' => 'Viola hispida Lam. [1779]', |
'href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72288', |
'retenu' => true, |
'nom_retenu' => 'Viola hispida Lam. [1779]', |
'nom_retenu.id' => '72288', |
'nom_retenu.href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72288'), |
'72341' => array( |
'nom_sci' => 'Viola lutea var. hispida Nyman [1878]', |
'href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72341', |
'retenu' => false, |
'nom_retenu' => 'Viola bubanii Timb.-Lagr. [1852]', |
'nom_retenu.id' => '72117', |
'nom_retenu.href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72117'), |
'72289' => array( |
'nom_sci' => 'Viola hispida subsp. cryana (Gillot) P.Fourn. [1928]', |
'href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72289', |
'retenu' => false, |
'nom_retenu' => 'Viola cryana Gillot [1878]', |
'nom_retenu.id' => '72201', |
'nom_retenu.href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72201'), |
'72290' => array( |
'nom_sci' => 'Viola hispida subsp. rothomagensis P.Fourn. [1928]', |
'href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72290', |
'retenu' => false, |
'nom_retenu' => 'Viola hispida Lam. [1779]', |
'nom_retenu.id' => '72288', |
'nom_retenu.href' => 'http://localhost/service:eflore:0.1/bdtfx/noms/72288'))); |
$resultatsJson = file_get_contents(dirname(__FILE__).'/resultats.json'); |
$resultats = json_decode($resultatsJson, true); |
return $resultats[$masque]; |
} |
|