Subversion Repositories Applications.annuaire

Rev

Rev 100 | Rev 178 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php
/**
* PHP Version 5
*
* @category  PHP
* @package   annuaire
* @author    aurelien <aurelien@tela-botanica.org>
* @copyright 2010 Tela-Botanica
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
* @version   SVN: <svn_id>
* @link      /doc/annuaire/
*/

class NavigationControleur extends AppControleur {
        
        public function afficherContenuMenu($id_annuaire, $admin = false) {
                                
                $donnees['id_annuaire'] = $id_annuaire; 
                
                if($admin) {
                        $menu = $this->getVue(Config::get('dossier_squelettes_navigation').'menu_admin', $donnees);
                } else {
                        $menu = $this->getVue(Config::get('dossier_squelettes_navigation').'menu', $donnees);
                }
                
                return $menu;
        }
}