Revision 9ad27e65
Von Sven Schöling vor mehr als 11 Jahren hinzugefügt
SL/Layout/Base.pm | ||
---|---|---|
1 | 1 |
package SL::Layout::Base; |
2 | 2 |
|
3 | 3 |
use strict; |
4 |
use parent qw(SL::Controller::Base);
|
|
4 |
use parent qw(Rose::Object);
|
|
5 | 5 |
|
6 | 6 |
use List::MoreUtils qw(uniq); |
7 | 7 |
use Time::HiRes qw(); |
... | ... | |
18 | 18 |
); |
19 | 19 |
|
20 | 20 |
use SL::Menu; |
21 |
use SL::Presenter; |
|
21 | 22 |
|
22 | 23 |
my %menu_cache; |
23 | 24 |
|
... | ... | |
154 | 155 |
$_[0]{_header_done}; |
155 | 156 |
} |
156 | 157 |
|
158 |
sub presenter { |
|
159 |
SL::Presenter->get; |
|
160 |
} |
|
161 |
|
|
157 | 162 |
1; |
Auch abrufbar als: Unified diff
Layout auf Presenter umgestellt.
Behebt circular includes von SL::Layout::Base -> SL::Controller::Base -> SL::Request -> SL::Layout::Base