NAME

Blosxom::Component - Base class for Blosxom components

SYNOPSIS

package MyComponent;
use parent 'Blosxom::Component';

DESCRIPTION

Base class for Blosxom components.

METHODS

$class->requires

Declares a list of methods that must be defined to load this component.

__PACKAGE__->requires(qw/req1 req2/);
$class->mk_accessors
__PACKAGE__->mk_accessors(qw/foo bar baz/);
$class->init
sub init {
    my ( $class, $caller, $config ) = @_;
    # do something
    $class->SUPER::init( $caller );
}

SEE ALSO

Blosxom::Plugin, Role::Tiny

AUTHOR

Ryo Anazawa

LICENSE AND COPYRIGHT

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