Subversion Repositories eFlore/Applications.del

Rev

Rev 723 | Rev 1793 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 723 Rev 1293
Line 33... Line 33...
33
	
33
 
34
	/**
34
	/**
35
	 * Obtenir la limite courante
35
	 * Obtenir la limite courante
36
	 * */
36
	 * */
-
 
37
	public function getLimite() {
37
	public function getLimite() {
38
		$limite = 10;
-
 
39
		if (isset($this->parametres['navigation.limite']) && is_numeric($this->parametres['navigation.limite'])) {
-
 
40
			$limite = $this->parametres['navigation.limite'];
-
 
41
			$limite = ($limite < 1000) ? $limite : 1000;// Pour éviter les abus !
-
 
42
		}
38
		return isset($this->parametres['navigation.limite']) ? $this->parametres['navigation.limite'] : 10;
43
		return $limite;
Line 39... Line 44...
39
	}
44
	}
40
	
45
 
41
	/**
46
	/**