Revision 942a5b2c
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/Controller/Base.pm | ||
---|---|---|
381 | 381 |
scalar's content is used as the content to process. The C<type> option |
382 | 382 |
is not considered in this case. |
383 | 383 |
|
384 |
C<$template> can also be an instance of L<SL::Presenter::EscapedText> |
|
385 |
or a reference to such an instance. Both of these cases are handled |
|
386 |
the same way as if C<$template> were a reference to a scalar: its |
|
387 |
content is processed, and C<type> is not considered. |
|
388 |
|
|
384 | 389 |
Other reference types, unknown options and unknown arguments to the |
385 | 390 |
C<type> option cause the function to L<croak>. |
386 | 391 |
|
SL/Presenter.pm | ||
---|---|---|
197 | 197 |
scalar's content is used as the content to process. The C<type> option |
198 | 198 |
is not considered in this case. |
199 | 199 |
|
200 |
C<$template> can also be an instance of L<SL::Presenter::EscapedText> |
|
201 |
or a reference to such an instance. Both of these cases are handled |
|
202 |
the same way as if C<$template> were a reference to a scalar: its |
|
203 |
content is processed, and C<type> is not considered. |
|
204 |
|
|
200 | 205 |
Other reference types, unknown options and unknown arguments to the |
201 | 206 |
C<type> option cause the function to L<croak>. |
202 | 207 |
|
Auch abrufbar als: Unified diff
SL::{Controller::Base,Presenter}->render: Dokumentation