* @copyright 2010 Tela-Botanica * @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL * @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL * @version SVN: $Id$ */ class Syndication extends ColControleur { //+----------------------------------------------------------------------------------------------------------------+ // Méthodes /** * Fonction d'affichage par défaut */ public function executerActionParDefaut() { return $this->afficher(); } /** * Cartographier les collections. * @return string la vue correspondante */ public function afficher() { // Initialisation de variable $donnees = array(); // Récupération des infos sur les flux disponibles $syndicationDao = $this->getModele('SyndicationDao'); $donnees['syndications'] = $syndicationDao->getListeDesFlux(); // Limitation des entrées des flux $donnees['limite'] = Config::get('flux_limite'); // Traitement du squelette et retour $resultat = $this->getVue('syndication', $donnees); $this->setSortie(self::RENDU_CORPS, $resultat); } } ?>