Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 494 | Rev 746 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 494 Rev 517
Line 15... Line 15...
15
abstract class aControleur extends Controleur {
15
abstract class aControleur extends Controleur {
Line 16... Line 16...
16
 
16
 
17
	const META_TITRE = 'titre';
17
	const META_TITRE = 'titre';
18
	const META_DESCRIPTION = 'description';
18
	const META_DESCRIPTION = 'description';
-
 
19
	const META_TAGS = 'tags';
19
	const META_TAGS = 'tags';
20
	const ENTETE = 'entete';
20
	const RENDU_TETE = 'tete';
21
	const RENDU_TETE = 'tete';
21
	const RENDU_CORPS = 'corps';
22
	const RENDU_CORPS = 'corps';
22
	const RENDU_PIED = 'pied';
23
	const RENDU_PIED = 'pied';
23
	const RENDU_NAVIGATION = 'navigation';
24
	const RENDU_NAVIGATION = 'navigation';
24
	const RENDU_MENU = 'menu';
-
 
25
	const RENDU_SCRIPT = 'scripts';
-
 
Line 26... Line 25...
26
	const RENDU_STYLE = 'styles';
25
	const RENDU_MENU = 'menu';
27
 
26
 
28
	private $sortie = array();
27
	private $sortie = array();
29
	protected $urlBase = null;
28
	protected $urlBase = null;
Line 72... Line 71...
72
	private function verifierExistenceTypeSortie($type) {
71
	private function verifierExistenceTypeSortie($type) {
73
		$existe = true;
72
		$existe = true;
74
		if ($type != self::RENDU_TETE &&
73
		if ($type != self::RENDU_TETE &&
75
			$type != self::RENDU_CORPS &&
74
			$type != self::RENDU_CORPS &&
76
			$type != self::RENDU_PIED &&
75
			$type != self::RENDU_PIED &&
77
			$type != self::RENDU_SCRIPT &&
-
 
78
			$type != self::RENDU_STYLE &&
-
 
79
			$type != self::RENDU_NAVIGATION &&
76
			$type != self::RENDU_NAVIGATION &&
80
			$type != self::RENDU_MENU &&
77
			$type != self::RENDU_MENU &&
-
 
78
			$type != self::ENTETE &&
81
			$type != self::META_TITRE &&
79
			$type != self::META_TITRE &&
82
			$type != self::META_DESCRIPTION &&
80
			$type != self::META_DESCRIPTION &&
83
			$type != self::META_TAGS) {
81
			$type != self::META_TAGS) {
84
			trigger_error("Le type de sortie '$type' n'est pas une valeur prédéfinie.", E_USER_WARNING);
82
			trigger_error("Le type de sortie '$type' n'est pas une valeur prédéfinie.", E_USER_WARNING);
85
			$existe = false;
83
			$existe = false;