Apache-JAF
view release on metacpan or search on metacpan
handler's name. It provides real-like document tree in the templates
folder.
debug_level
Look at Apache_JAF_Debug in "CONFIGURATION" section.
status
Default handler status is "NOT_FOUND".
type
Default content-type is "text/html". You can call
"$self->download_type()" for set unexisting MIME-type to force
browser download content instead of viewing it.
template_ext, include_ext
Default template extension is ".html". Default include template
extension is ".inc".
default_include
Site-wide include template. Default value is... "default".
lib/Apache/JAF.pm view on Meta::CPAN
# every next level includes all options from previous
# 0: critical errors only
# 1: request processing line
# 2: client request
# 3: response headers
# 4: template variables
# 9: loading additional handlers
# 10: processed template
$self->{debug_level} = $self->{r}->dir_config('Apache_JAF_Debug') || 0;
# Default response status and content-type
$self->{status} = NOT_FOUND;
$self->{type} = 'text/html';
# Default template and includes extensions
$self->{template_ext} = '.html';
$self->{include_ext} = '.inc';
$self->{default_include} = 'default';
# pre- and post-process templates (without extensions)
$self->{header} = 'header';
lib/Apache/JAF.pm view on Meta::CPAN
=item debug_level
Look at B<Apache_JAF_Debug> in L<"CONFIGURATION"> section.
=item status
Default handler status is C<NOT_FOUND>.
=item type
Default content-type is C<text/html>. You can call C<$self-E<gt>download_type()>
for set unexisting MIME-type to force browser download content instead of viewing it.
=item template_ext, include_ext
Default template extension is C<.html>.
Default include template extension is C<.inc>.
=item default_include
Site-wide include template. Default value is... C<default>.
( run in 1.305 second using v1.01-cache-2.11-cpan-524268b4103 )