Scroll to navigation

Lemonldap::NG::Portal::Display(3pm) User Contributed Perl Documentation Lemonldap::NG::Portal::Display(3pm)
 

NAME

Lemonldap::NG::Portal::Display - Display functions for LemonLDAP::NG Portal

SYNOPSIS

  use Lemonldap::NG::Portal::SharedConf;
  use HTML::Template;
  my $portal = Lemonldap::NG::Portal::SharedConf->new();
  my($templateName,%templateParams) = $portal->display();
  my $template = HTML::Template->new(
    filename => $templateName,
    die_on_bad_params => 0,
    cache => 0,
    global_vars => 1,
    filter => sub { $portal->translate_template(@_) }
  );
  while ( my ( $k, $v ) = each %templateParams ) { $template->param( $k, $v ); }
  print $portal->header('text/html; charset=utf-8');
  print $template->output;

DESCRIPTION

This module is used to build all templates parameters to display LemonLDAP::NG Portal

SEE ALSO

Lemonldap::NG::Portal

AUTHOR

Clement Oudot, <clem.oudot@gmail.com>
Francois-Xavier Deltombe, <fxdeltombe@gmail.com.>
Xavier Guimard, <x.guimard@free.fr>
Sandro Cazzaniga, <cazzaniga.sandro@gmail.com>
Thomas Chemineau, <thomas.chemineau@gmail.com>

BUG REPORT

Use OW2 system to report bug or ask for features: <http://jira.ow2.org>

DOWNLOAD

Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>

COPYRIGHT AND LICENSE

Copyright (C) 2010, 2012 by Xavier Guimard, <x.guimard@free.fr>
Copyright (C) 2012 by Sandro Cazzaniga, <cazzaniga.sandro@gmail.com>
Copyright (C) 2012 by Francois-Xavier Deltombe, <fxdeltombe@gmail.com.>
Copyright (C) 2010, 2011, 2012, 2013 by Clement Oudot, <clem.oudot@gmail.com>
Copyright (C) 2011 by Thomas Chemineau, <thomas.chemineau@gmail.com>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2014-01-17 perl v5.20.1