|
NAMEToader::Render::Entry - This renders a Toader::Entry object.VERSIONVersion 0.1.1SYNOPSISMETHODSnewThis initiates the object.args hash ref obj This is the Toader::Entry object to render. toader This is the Toader object to use. toDirThis is the value used to get from the directory it is being rendered in back to directory storing stuff for that directory. By default this is '../../' as it needs to get from '.entries/'.$entryID back to the directory. Or we are creating a listing of the last several in the '.entries/' directory, it should be set it to '../'.my $foo=Toader::Render::Entry->new(\%args); if($foo->error){ warn('error: '.$foo->error.":".$foo->errorString); } contentThis renders the content to be included in a static entry page.my $content=$foo->content; archiveThis renders the '.entries/archive.html' file.archiveContentThis renders the content for the index.html page for the entries.indexThis renders the '.entries/index.html' file.indexContentThis renders the content for the index.html page for the entries.renderThis renders the object.No arguments are taken. tagsThis renders the '.entries/tags.html' file.tagsContentThis renders the content for the index.html page for the entries.ERROR CODES1, noObjNo Toader::Entry object specified.2, noToaderObjNo Toader object specified.3, objPerrorThe Toader::Entry object has a permanent error set.4, toaderObjPerrorThe Toader object has a permanent error set.5, noDirSetThe Toader::Entry object does not have a directory set6, cleanupInitErroredFailed to initialize the cleanup module.7, cleanupErroredFailed to cleanup.8, backendInitErroredFailed to initialize the backend.9, pathhelperInitErroredFailed to initialize the path helper.11, noOutputDirSetThe Toader object does not have a output directory set.12, outputDirDoesNotExistThe output directory does not exist.13, outputEntryDirCreationFailedThe output entry directory could not be created.14, outputFileDirCreationFailedThe output file directory could not be created.15, generalInitErroredFailed to initialize the Toader::Render::General object.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 You can also look for information at:
ACKNOWLEDGEMENTSLICENSE AND COPYRIGHTCopyright 2011. 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.
Visit the GSP FreeBSD Man Page Interface. |