Subversion Repositories eFlore/Applications.del

Rev

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

Rev 905 Rev 935
Line 16... Line 16...
16
	
16
	
17
	protected $parametres;
17
	protected $parametres;
18
	protected $navigation;
18
	protected $navigation;
19
	protected $masque;
19
	protected $masque;
20
	protected $gestionBdd;
-
 
-
 
20
	protected $gestionBdd;
Line 21... Line 21...
21
	
21
	protected $sansLimite = false;
22
	
22
	
Line 23... Line 23...
23
	//TODO : initialiser tous les objets dans le conteneur
23
	//TODO : initialiser tous les objets dans le conteneur
Line 99... Line 99...
99
	public function getNavigation() {
99
	public function getNavigation() {
100
		return $this->navigation;
100
		return $this->navigation;
101
	}
101
	}
Line 102... Line 102...
102
	
102
	
-
 
103
	/**
-
 
104
	 * Changer la valeur de sans limite pour ne pas l'afficher dans l'entete
-
 
105
	 * */
-
 
106
	public function setSansLimite() {
-
 
107
		$this->sansLimite = true;
-
 
108
	}
-
 
109
	
103
	/**
110
	/**
104
	* Créer l'entête en fonction des paramètres donnés
111
	* Créer l'entête en fonction des paramètres donnés
105
	* */
112
	* */
106
	public function getEntete() {
113
	public function getEntete() {
107
		$entete = array();
114
		$entete = array();
-
 
115
		$entete['masque'] = $this->masque->getChaineMasque();
-
 
116
		
108
		$entete['masque'] = $this->masque->getChaineMasque();
117
		if ($this->sansLimite = false) {
109
		$entete['depart'] = $this->navigation->getDepart();
118
			$entete['depart'] = $this->navigation->getDepart();
-
 
119
			$entete['limite'] = $this->navigation->getLimite();
-
 
120
		}
110
		$entete['limite'] = $this->navigation->getLimite();
121
		
111
		$entete['total'] = $this->navigation->getTotal();
122
		$entete['total'] = $this->navigation->getTotal();
Line 112... Line 123...
112
		$lienPrecedent = $this->navigation->recupererHrefPrecedent();
123
		$lienPrecedent = $this->navigation->recupererHrefPrecedent();
113
	
124