Revision 798aacc0
Von Sven Schöling vor fast 3 Jahren hinzugefügt
SL/Controller/Base.pm | ||
---|---|---|
15 | 15 |
use Rose::Object::MakeMethods::Generic |
16 | 16 |
( |
17 | 17 |
scalar => [ qw(action_name) ], |
18 |
'scalar --get_set_init' => [ qw(js) ], |
|
18 |
'scalar --get_set_init' => [ qw(js p) ],
|
|
19 | 19 |
); |
20 | 20 |
|
21 | 21 |
# |
... | ... | |
184 | 184 |
return SL::Presenter->get; |
185 | 185 |
} |
186 | 186 |
|
187 |
sub init_p { |
|
188 |
return SL::Presenter->get; |
|
189 |
} |
|
190 |
|
|
187 | 191 |
sub controller_name { |
188 | 192 |
my $class = ref($_[0]) || $_[0]; |
189 | 193 |
$class =~ s/^SL::Controller:://; |
Auch abrufbar als: Unified diff
Controller::Base: init_p jetzt überall verfügbar