Subversion Repositories Applications.annuaire

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
100 aurelien 1
<?php
2
/**
3
* PHP Version 5
4
*
5
* @category  PHP
6
* @package   annuaire
7
* @author    aurelien <aurelien@tela-botanica.org>
8
* @copyright 2010 Tela-Botanica
9
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
* @version   SVN: <svn_id>
11
* @link      /doc/annuaire/
12
*/
13
 
120 aurelien 14
class NavigationControleur extends AppControleur {
100 aurelien 15
 
16
	public function afficherContenuMenu($id_annuaire, $admin = false) {
17
 
18
		$donnees['id_annuaire'] = $id_annuaire;
19
 
20
		if($admin) {
21
			$menu = $this->getVue(Config::get('dossier_squelettes_navigation').'menu_admin', $donnees);
22
		} else {
23
			$menu = $this->getVue(Config::get('dossier_squelettes_navigation').'menu', $donnees);
24
		}
25
 
26
		return $menu;
27
	}
28
}