NAME

Blosxom::Plugin::Core - Core set of Blosxom::Plugin modules

SYNOPSIS

# In your plugins
use parent 'Blosxom::Plugin::Core';

DESCRIPTION

This class just loads various components that make up the Blosxom::Plugin core features. You almost certainly want these.

The core components currently are:

Blosxom::Plugin::Request
Blosxom::Plugin::Response
Blosxom::Plugin::DataSection
Blosxom::Plugin::Util

METHODS

This class inherits all methods from Blosxom::Plugin and implements the following new ones.

$class->response, $class->res

Returns a Blosxom::Plugin::Response object.

$class->request, $class->req

Returns a Blosxom::Plugin::Request object.

$class->util

Returns a Blosxom::Plugin::Util object.

$class->data_section
$rendered = $class->render( $basename )
$template = $class->get_template

A shortcut for

$template = $blosxom::template->(
    $blosxom::path_info,
    $class,
    $blosxom::flavour,
);
$template = $class->get_template( $component )

A shortcut for

$template = $blosxom::template->(
    $blosxom::path_info,
    $component,
    $blosxom::flavour,
);
$template = $class->get_template(path=>$p, component=>$c, flavour=>$f)

A shortcut for

$template = $blosxom::template->( $p, $c, $f )

SEE ALSO

Blosxom::Plugin

AUTHOR

Ryo Anazawa <anazawa@cpan.org>

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.