| 1 | package DBIx::Skinny::Pager::Page; | ||
| 2 | 8 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 8 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | ▶ | use base qw(Data::Page); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | sub to_hash { |
|
Subroutine
to_hash: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 7 | 1 | my $self = $_[0]; | |
| 8 | return +{ | ||
| 9 | 1 | total_entries => $self->total_entries, | |
| 10 | entries_per_page => $self->entries_per_page, | ||
| 11 | previous_page => $self->previous_page, | ||
| 12 | current_page => $self->current_page, | ||
| 13 | next_page => $self->next_page, | ||
| 14 | }; | ||
| 15 | } | ||
| 16 | |||
| 17 | 8 | 1; | |
| 18 | |||
| 19 | __END__ | ||