Recess-Framework-Model-Pagination is a project mainly written in ..., it's free.
Adds effortless pagination to Recess Framework models
Recess Framework Model Pagination Plugin
Thank you for your interest in my pagination plugin! This plugin is released under the MIT public license. This plugin enables you to effortlessly paginate ModelSets in your controllers. This plugin was based on the Plucky module by John Nunemaker.
Download the Pagination Plugin and place the "PaginationPlugin/" directory into your Recess installation's "plugins/" directory.
Update your Recess application's class file. Import the "PaginationPlugin" plugin. Then register the PaginationPlugin with your application. Ultimately, your application class file should look something like this:
<?php Library::import('recess.framework.Application'); Library::import('PaginationPlugin.PaginationPlugin');
class MyApplication extends Application { public function __construct() { $this->name = 'My Cool Application'; $this->viewsDir = $_ENV['dir.apps'] . 'myapp/templates/'; $this->modelsPrefix = 'myapp.models.'; $this->controllersPrefix = 'myapp.controllers.'; $this->routingPrefix = '/'; $this->plugins = array( new PaginationPlugin() ); } } ?>
/**
}
/**
To request the "second page" of results, append "?page=2" to your request URL.