]> wagnertech.de Git - kivitendo-erp.git/commitdiff
SL::{Controller::Base,Presenter}->render: Dokumentation
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 27 Feb 2013 13:25:38 +0000 (14:25 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 27 Feb 2013 13:29:48 +0000 (14:29 +0100)
SL/Controller/Base.pm
SL/Presenter.pm

index 01e2db4f0b5929d10d6708e3a034cd3acdf0e366..2d86f0f9641a7c780255b68f3b91ea6755e85e02 100644 (file)
@@ -381,6 +381,11 @@ If C<$template> is a reference to a scalar then the referenced
 scalar's content is used as the content to process. The C<type> option
 is not considered in this case.
 
+C<$template> can also be an instance of L<SL::Presenter::EscapedText>
+or a reference to such an instance. Both of these cases are handled
+the same way as if C<$template> were a reference to a scalar: its
+content is processed, and C<type> is not considered.
+
 Other reference types, unknown options and unknown arguments to the
 C<type> option cause the function to L<croak>.
 
index 4547ec746bbc337fd258bbad0adbd49f13d76f90..f328cce9e1c10ddac7082f3a3b1c9a5f7b668f0d 100644 (file)
@@ -197,6 +197,11 @@ If C<$template> is a reference to a scalar then the referenced
 scalar's content is used as the content to process. The C<type> option
 is not considered in this case.
 
+C<$template> can also be an instance of L<SL::Presenter::EscapedText>
+or a reference to such an instance. Both of these cases are handled
+the same way as if C<$template> were a reference to a scalar: its
+content is processed, and C<type> is not considered.
+
 Other reference types, unknown options and unknown arguments to the
 C<type> option cause the function to L<croak>.