|
NAMEToader::Render::Entry::backends::html - This handles the html backend stuff for Toader::Render::Entry. VERSIONVersion 0.1.0 SYNOPSIS use Toader::Render::Entry::backends::html;
my $renderer=Toader::Render::Directory::backends::html->new({ toader=>$toader, obj=>$entryObj });
my $rendered;
if ( $renderer->error ){
warn( 'Error:'.$renderer->error.': '.$renderer->errorString );
}else{
$rendered=$renderer->render($torender);
}
While this will error etc, this module is basically a pass through as HTML the native. METHODSnewThis initiates the object. args hash ref obj This is the Toader::Entry object to render. toader This is the Toader object to use. my $foo=Toader::Render::Entry::backends::html->new(\%args);
if($foo->error){
warn('error: '.$foo->error.":".$foo->errorString);
}
renderThis renders the object. No arguments are taken. ERROR CODES1, noObjNo Toader::Entry object specified. 2, noToaderObjNo Toader object specified. 3, objPerrorThe Toader::Entry object has a permanent error set. 4, toaderPerrorThe Toader object has a permanent error set. 5, noDirSetThe Toader::Entry object does not have a directory set. 6, nothingToRenderNothing specified to render. AUTHORZane C. Bowers-Hadley, "<vvelox at vvelox.net>" BUGSPlease report any bugs or feature requests to "bug-toader at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORTYou can find documentation for this module with the perldoc command. perldoc Toader::Render::Entry::backends::html You can also look for information at:
ACKNOWLEDGEMENTSLICENSE AND COPYRIGHTCopyright 2013. Zane C. Bowers-Hadley. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.
|