Renard::Curie::Model::View::Role::SubviewPageable - Role for view models that are paged
version 0.005
A private attribute that tracks the current subview.
method set_current_subview_to_first()
Sets the subview to the first subview of the view collection.
method set_current_subview_to_last()
Sets the subview to the last subview of the view collection.
method can_move_to_previous_subview() :ReturnType(Bool)
Predicate to check if we can decrement the current subview index.
method can_move_to_next_subview() :ReturnType(Bool)
Predicate to check if we can increment the current subview index.
method set_current_subview_forward()
Increments the current subview index if possible.
method set_current_subview_back()
Decrements the current subview index 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.