| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package HTML::Tested::List::Pager; | ||
| 5 | 1 | ▶ | use HTML::Tested::Value; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 1 | my ($class, $entries_per_page) = @_; | |
| 9 | 1 | return bless({ entries_per_page => $entries_per_page }, $class); | |
| 10 | } | ||
| 11 | |||
| 12 | 0 | ▶ | sub entries_per_page { return shift()->{entries_per_page}; } |
|
Subroutine
entries_per_page: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 13 | |||
| 14 | 1 | ▶ | sub init { |
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 15 | 1 | my ($self, $the_list, $parent) = @_; | |
| 16 | 1 | my $ln = $the_list->name; | |
| 17 | 1 | $parent->ht_add_widget("HTML::Tested::Value", "$ln\_current_page"); | |
| 18 | } | ||
| 19 | |||
| 20 | 1 | ▶ | sub render { |
|
Subroutine
render: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | } | ||
| 22 | |||
| 23 | 1 | 1; | |