22,8 → 22,6 |
const RENDU_PIED = 'pied'; |
const RENDU_NAVIGATION = 'navigation'; |
const RENDU_MENU = 'menu'; |
const RENDU_SCRIPT = 'scripts'; |
const RENDU_STYLE = 'styles'; |
|
private $sortie = array(); |
protected $urlBase = null; |
40,7 → 38,7 |
$this->urlCourante = Registre::get('eFlore.urlCourante'); |
$this->urlRedirection = Registre::get('eFlore.urlRedirection'); |
$this->urls = (is_null($urls)) ? new AppUrls() : $urls; |
|
|
parent::__construct(); |
} |
|
74,8 → 72,6 |
if ($type != self::RENDU_TETE && |
$type != self::RENDU_CORPS && |
$type != self::RENDU_PIED && |
$type != self::RENDU_SCRIPT && |
$type != self::RENDU_STYLE && |
$type != self::RENDU_NAVIGATION && |
$type != self::RENDU_MENU && |
$type != self::META_TITRE && |
204,12 → 200,12 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
public function redirigerVers($url) { |
$url = str_replace('&', '&', $url); |
header("Location: $url"); |
} |
|
|
public function getParametresUrlListe() { |
$parametres = array( |
'referentiel' => Registre::get('parametres.referentiel'), |
220,7 → 216,7 |
); |
return $parametres; |
} |
|
|
public function obtenirUrlListeFamille() { |
$parametres = $this->getParametresUrlListe(); |
$parametres['rang'] = 'F'; |
228,7 → 224,7 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
public function obtenirUrlListeGenre() { |
$parametres = $this->getParametresUrlListe(); |
$parametres['rang'] = 'G'; |
236,9 → 232,9 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
|
|
|
public function getParametresUrlResultat() { |
$parametres = array( |
'referentiel' => Registre::get('parametres.referentiel'), |
250,7 → 246,7 |
); |
return $parametres; |
} |
|
|
public function obtenirUrlResultatDetermination() { |
$parametres = $this->getParametresUrlResultat(); |
$parametres['resultat'] = 'determination'; |
258,7 → 254,7 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
public function obtenirUrlResultatAlphab() { |
$parametres = $this->getParametresUrlResultat(); |
$parametres['resultat'] = 'alphab'; |
266,7 → 262,7 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
public function obtenirUrlResultatRetenu() { |
$parametres = $this->getParametresUrlResultat(); |
$parametres['resultat'] = 'retenu'; |
274,7 → 270,7 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
public function obtenirUrlResultatDecompo() { |
$parametres = $this->getParametresUrlResultat(); |
$parametres['resultat'] = 'decompo'; |
282,7 → 278,7 |
$url = $this->urlBase->getURL(); |
return $url; |
} |
|
|
|
} |
?> |