ClearPress
view release on metacpan or search on metacpan
lib/ClearPress/view.pm view on Meta::CPAN
=head2 output_reset - clear data pending output
$oView->output_reset;
=head2 autoescape - turn auto-escaping of input on/off, usually in a subclass
If you're producing applications of moderate complexity, you almost
certainly want to disable autoescaping and handle it more cleverly
yourself. Subclass ClearPress::view and set self->autoescape to zero
or override the subroutine:
sub autoescape { return 0; }
=head2 decorator - get/set accessor for decorator object for cases where a view needs to reset & resend the decorated header. Set by the controller during $view->render()
$oView->decorator($oDecorator);
my $oDecorator = $oView->decorator();
=head1 DIAGNOSTICS
=head1 CONFIGURATION AND ENVIRONMENT
Set $ClearPress::view::DEBUG_L10N = 1 to report missing locali[zs]ation strings.
Set $ClearPress::view::DEBUG_OUTPUT = 1 to report output buffer operations.
Set $ClearPress::view::TRAP_REDIR_OVERFLOW = 1024 to enable experimental redirect header overflow handling after that many bytes
=head1 DEPENDENCIES
=over
=item base
=item strict
=item warnings
=item Class::Accessor
=item Template
=item Template::Filters
=item HTML::Entities
=item XML::Simple
=item ClearPress::util
=item Carp
=item English
=item POSIX
=back
=head1 INCOMPATIBILITIES
=head1 BUGS AND LIMITATIONS
=head1 AUTHOR
Roger Pettett, E<lt>rpettett@cpan.orgE<gt>
=head1 LICENSE AND COPYRIGHT
Copyright (C) 2008 Roger Pettett
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
=cut
( run in 0.676 second using v1.01-cache-2.11-cpan-39bf76dae61 )