Renard::Curie::Model::View::Role::Pageable - Role for view models that are paged
version 0.005
A PageNumber for the current page being drawn.
method set_current_page_to_first()
Sets the page number to the first page of the document.
method set_current_page_to_last()
Sets the current page to the last page of the document.
method can_move_to_previous_page() :ReturnType(Bool)
Predicate to check if we can decrement the current page number.
method can_move_to_next_page() :ReturnType(Bool)
Predicate to check if we can increment the current page number.
method set_current_page_forward()
Increments the current page number if possible.
method set_current_page_back()
Decrements the current page number if possible.
Project Renard
This software is copyright (c) 2016 by Project Renard.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Renard::Curie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Renard::Curie
CPAN shell
perl -MCPAN -e shell install Renard::Curie
For more information on module installation, please visit the detailed CPAN module installation guide.