Subversion Repositories Applications.framework

Rev

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

Rev 168 Rev 170
Line 10... Line 10...
10
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
10
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
11
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
12
 * @copyright	2009 Tela-Botanica
12
 * @copyright	2009 Tela-Botanica
13
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
13
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
14
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
14
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
15
 * @version		SVN: $$Id: Controleur.php 168 2010-03-19 17:19:31Z jpm $$
15
 * @version		SVN: $$Id: Controleur.php 170 2010-03-23 09:52:53Z aurelien $$
16
 * @link		/doc/framework/
16
 * @link		/doc/framework/
17
 *
17
 *
18
 */
18
 */
19
abstract class Controleur {
19
abstract class Controleur {
20
	/**
20
	/**
Line 87... Line 87...
87
	final protected function getVue($nom_squelette, $donnees = array()) {
87
	final protected function getVue($nom_squelette, $donnees = array()) {
88
		$chemin_squelette = ($this->registre->get('base_chemin_squelette')).$nom_squelette.'.tpl.html';
88
		$chemin_squelette = ($this->registre->get('base_chemin_squelette')).$nom_squelette.'.tpl.html';
Line 89... Line 89...
89
 
89
 
Line 90... Line -...
90
		$sortie = SquelettePhp::analyser($chemin_squelette, $donnees);
-
 
91
 
-
 
92
		if (Config::get('sortie_encodage') != Config::get('appli_encodage')) {
-
 
93
			$sortie = mb_convert_encoding($sortie,Config::get('sortie_encodage'),Config::get('appli_encodage'));
-
 
94
		}
90
		$sortie = SquelettePhp::analyser($chemin_squelette, $donnees);
95
 
91
 
Line 96... Line 92...
96
		return $sortie;
92
		return $sortie;
97
	}
93
	}