NAME

Egg::View - Base class for view.

DESCRIPTION

It is a base class for the view component.

This module has succeeded to Egg::Base.

METHODS

template

If this is undefined, passing and the file name of the template are generated from $e->action though $e->template is returned. And, when the template is not obtained from $e->action, it is $e->finished(404) and undefined is returned.

my $template= $e->view->template || return 0;

SEE ALSO

Egg::Release, Egg::Base,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 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.