Author image 士杰 仵
and 1 contributors

NAME

Mojolicious::Plugin::Paging - Mojolicious paging Plugin

SYNOPSIS

  # Mojolicious
  $self->plugin('Paging');
  
  $self->plugin('Paging',{
    default_start_page => 1,
    default_pre_page => 10
  });

  # Mojolicious::Lite
  plugin 'Paging',{default_start_page => 1,default_pre_page => 10};

DESCRIPTION

Mojolicious::Plugin::Paging is a Mojolicious plugin.

METHODS

Mojolicious::Plugin::Paging inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

  $plugin->register(Mojolicious->new);

Register plugin in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org.