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

BUG REPORT

Use OW2 system to report bug or ask for features: <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>

DOWNLOAD

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

COPYRIGHT AND LICENSE

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/>.

2018-10-07 perl v5.26.2