PHP Classes

Paginator Iterator: Iterate over listings split in page using Smarty

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 708 All time: 4,652 This week: 206Up
Version License PHP version Categories
pi 0.1GNU Lesser Genera...5HTML, PHP 5, Databases, Templates
Description 

Author

This package can be used iterate over listings split between pages using Smarty templates.

It can display database query results split in multiple pages with output defined using Smarty templates.

The templates may define the presentation of listings as table rows with links to browse different listing pages.

Features:
- Paginates results from a given SQL
- Iterates the paginated results (p_item and p_alternating plugins)
- Allows to create a page navigator
- Shows a header content (p_header plugin) and footer content (p_footer plugin)
- Shows a empty template when there is no results (p_empty plugin)
- Allows to create plugins to handle the database queries
- Don't uses sessions to store any data
- You can to use it in a MVC application
- You can create your own pagination style
- For while it supports mysql_*, mysqli_*, pdo (mysql and pgsql), but you can create your own plugins for others databases

Picture of Anderson A. Meggiolaro
Name: Anderson A. Meggiolaro <contact>
Classes: 1 package by
Country: Brazil Brazil

 

  Files folder image Files (17)  
File Role Description
Files folder imagemodels (1 file)
Files folder imagepi_lib (1 file, 1 directory)
Files folder imageplugins (6 files)
Files folder imagetemplates (2 files)
Accessible without login Plain text file example.php Example Example 1
Accessible without login Plain text file example2.php Example Example 2
Accessible without login Plain text file jos_menu.sql Data SQL to test the examples

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:708
This week:0
All time:4,652
This week:206Up
User Comments (1)