PHP Classes
Icontem

Class: Paginator Iterator


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Anderson A. Meggiolaro  >  Paginator Iterator  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Paginator Iterator Support forum
Base name: pi
Description: Iterate over listings split in page using Smarty
Related top rated classes: ,
Version: 0.1
Required PHP version: 5
License: GNU Lesser General Public License (LGPL)
All time users: 375 users
All time rank: 4079
Week users: 3 users
Week rank: 2219
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Anderson A. Meggiolaro
Name: Anderson A. Meggiolaro <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: ???
Age: 25
All time rank: 2223
Week rank: 1470

Groups

Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Templates Template processing engines and components View top rated classes

Detailed description

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

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file example.php Example Example 1
Plain text file example2.php Example Example 2
Plain text file jos_menu.sql Data SQL to test the examples
Files folder image models
  Plain text file MenuModel.php Class Example Model Class
Files folder image pi_lib
  Plain text file PaginatorIterator.php Class The PaginatorIterator Main Class
Files folder image pi_lib/plugins
  Plain text file MAKE-YOUR-OWN.txt Doc. How to make a specific plugin
  Plain text file mysql.php Aux. MySQL plugin
  Plain text file mysqli.php Aux. MySQLi plugin
  Plain text file pdo.php Aux. PDO plugin
Files folder image plugins
  Plain text file block.p_alternating.php Aux. Alternating Template
  Plain text file block.p_empty.php Aux. Empty Template
  Plain text file block.p_footer.php Aux. Footer Template
  Plain text file block.p_header.php Aux. Header Template
  Plain text file block.p_item.php Aux. Item Template - the loop
  Plain text file block.p_iterator.php Aux. Main Block
Files folder image templates
  Plain text file example.tpl Data Example 1 - tpl
  Plain text file example2.tpl Data Example 2 - tpl
Download all files: pi.tar.gz pi.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products