Zane C. Bowers-Hadley > Toader-0.4.0 > Toader::Render::Directory::backends::html

Download:
Toader-0.4.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Module Version: 0.0.1   Source   Latest Release: Toader-1.1.2

NAME ^

Toader::Render::Directory::backends::html - This handles the html backend stuff for Toader::Render::Directory.

VERSION ^

Version 0.0.1

SYNOPSIS ^

    use Toader::Render::Directory::backends::html;
    
    my $renderer=Toader::Render::Directory::backends::html->new({ toader=>$oader, obj=>$directoryObj });
    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.

METHODS ^

new

This initiates the object.

args hash ref

obj

This is the Toader::Directory object to render.

toader

This is the Toader object to use.

        my $foo=Toader::Render::Directory::backends::html->new(\%args);
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

render

This renders the object.

No arguments are taken.

ERROR CODES ^

1

No Toader::Directory object specified.

2

No Toader object specified.

3

The Toader::Directory object has a permanent error set.

4

The Toader object has a permanent error set.

5

The Toader::Directory object does not have a directory set.

6

Nothing specified to render.

AUTHOR ^

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS ^

Please 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.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Toader::Render::Directory::backends::html

You can also look for information at:

ACKNOWLEDGEMENTS ^

LICENSE AND COPYRIGHT ^

Copyright 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.

syntax highlighting: