source: bookmarks/trunk/lib/Bookmarks/Search.pm @ 124

Last change on this file since 124 was 106, checked in by peter, 9 years ago

#6: Added basic pagination to the bookmarks HTML list view.

File size: 349 bytes
RevLine 
[71]1package Bookmarks::Search;
2
3use Moose;
4
5has query  => (is => 'ro');
6has tags   => (
7    is => 'ro',
8    default => sub { [] },
9);
10has limit  => (is => 'ro');
11has offset => (is => 'ro');
[106]12has page   => (is => 'ro');
[71]13
[88]14has results => (is => 'rw', default => sub { [] });
[106]15has pages => (
16    is => 'rw',
17    isa => 'Data::Pageset',
18);
[88]19
[71]20# module return
211;
Note: See TracBrowser for help on using the repository browser.