Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d4458803

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID d445880375bce1462b8f9a8b1a502b34c296d41f
  • Vorgänger 2bc66c62
  • Nachfolger 5b5dbec0

SL::Presenter -- die neue Präsentationsschicht

Unterschiede anzeigen:

SL/Template/Plugin/L.pm
6 6
use List::Util qw(max);
7 7
use Scalar::Util qw(blessed);
8 8

  
9
use SL::Presenter;
10

  
9 11
use strict;
10 12

  
11 13
{ # This will give you an id for identifying html tags and such.
......
675 677
    },
676 678
  );
677 679

  
678
  my $output;
679
  $controller->_template_obj->process('templates/webpages/common/paginate.html', \%template_params, \$output);
680
  return $output;
680
  return SL::Presenter->get->render('common/paginate', %template_params);
681 681
}
682 682

  
683 683
1;

Auch abrufbar als: Unified diff