NAME

Sledge::Plugin::Paginate - data paginate plugin for Sledge

VERSION

This documentation refers to Sledge::Plugin::Paginate version 0.01

SYNOPSIS

package Your::Pages;
use Sledge::Plugin::Paginate;

sub dispatch_index {
    my $self = shift;

    my @users = $self->user;

    $self->paginate(
        paging_num => $self->config->paging_num,
        page_name  => 'user',
        data       => \@users,
    );
}

METHODS

paginate

This paginate plugin can easily execute paging.

AUTHOR

Atsushi Kobayashi, <nekokak at gmail.com>

BUGS

Please report any bugs or feature requests to bug-sledge-plugin-paginate at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sledge-Plugin-Paginate. 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 Sledge::Plugin::Paginate

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2006 Atsushi Kobayashi, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.