Revision f9c6711c
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Layout/ActionBar/Action.pm | ||
---|---|---|
4 | 4 |
use parent qw(Rose::Object); |
5 | 5 |
|
6 | 6 |
use SL::Presenter; |
7 |
require SL::Layout::ActionBar::Submit; |
|
8 | 7 |
|
9 | 8 |
use Rose::Object::MakeMethods::Generic ( |
10 | 9 |
'scalar --get_set_init' => [ qw(id params text) ], |
... | ... | |
24 | 23 |
sub from_params { |
25 | 24 |
my ($class, $data) = @_; |
26 | 25 |
|
26 |
require SL::Layout::ActionBar::Submit; |
|
27 |
|
|
27 | 28 |
my ($text, %params) = @$data; |
28 | 29 |
return if exists($params{only_if}) && !$params{only_if}; |
29 | 30 |
return if exists($params{not_if}) && $params{not_if}; |
Auch abrufbar als: Unified diff
ActionBar: Warnungen wegen Funktionsüberschreibung vermeiden