NAME
Egg::Component - Common base class for Egg component.
SYNOPSIS
use base qw/Egg::Component/;
DESCRIPTION
Using some methods such as parameters by succeeding to this module becomes possible.
* It is not possible to use it from the plugin module.
METHODS
name
Own class name is returned. It is the same as ref($self).
e
The Egg object is returned. It is necessary to have passed the Egg object to constructor's the first argument.
config
HASH set as a configuration is returned. If HASH is passed to constructor's the second argument, it becomes an initial value.
parameters or params
HASH set as a parameter is returned. If HASH is passed to constructor's the third argument, it becomes an initial value.
param ([KEY], [VALUE])
The same exercising like CGI module etc. as the param method general is done.
setup
Nothing is done. The passed argument is returned as it is.
prepare
Nothing is done. 0 is always returned.
SEE ALSO
AUTHOR
Masatoshi Mizuno, <mizuno@bomcity.com>
COPYRIGHT AND LICENSE
Copyright (C) 2007 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
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.6 or, at your option, any later version of Perl 5 you may have available.