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

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

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

File size: 349 bytes
Line 
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');
12has page   => (is => 'ro');
13
14has results => (is => 'rw', default => sub { [] });
15has pages => (
16    is => 'rw',
17    isa => 'Data::Pageset',
18);
19
20# module return
211;
Note: See TracBrowser for help on using the repository browser.