Revision 7647d46a
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/Presenter/EscapedText.pm | ||
---|---|---|
2 | 2 |
|
3 | 3 |
use strict; |
4 | 4 |
|
5 |
use JSON (); |
|
6 |
|
|
5 | 7 |
use overload '""' => \&escaped; |
6 | 8 |
|
7 | 9 |
sub new { |
... | ... | |
20 | 22 |
return $self->{text}; |
21 | 23 |
} |
22 | 24 |
|
25 |
sub TO_JSON { |
|
26 |
goto &escaped; |
|
27 |
} |
|
28 |
|
|
23 | 29 |
1; |
24 | 30 |
__END__ |
25 | 31 |
|
Auch abrufbar als: Unified diff
Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render
Conflicts:
SL/Controller/FinancialControllingReport.pm
SL/Controller/ProjectType.pm