Login   Register  
PHP Classes
elePHPant
Icontem

Paginator Iterator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Anderson A. Meggiolaro  >  Paginator Iterator  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Paginator Iterator
Base name: pi
Description: Iterate over listings split in page using Smarty
Related classes: , , , , , , ,
Version: 0.1
PHP version: 5
License: GNU Lesser General Public License (LGPL)
All time users: 611 users
All time rank: 4139
Week users: 2 users
Week rank: 1632
 

  Author  
Picture of Anderson A. Meggiolaro
Name: Anderson A. Meggiolaro <e-mail contact>
Packages: 1 Browse all classes by Anderson A. Meggiolaro Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 28
All time rank: 2377179 in Brazil Brazil
Week rank: 1226 Up87 in Brazil Brazil Up


  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

  Groups   Rate classes User ratings   Applications   Files Files  

  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


  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 folder image Files  
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)
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  /  Files folder image models  
File Role Description
  Plain text file MenuModel.php Class Example Model Class

  Files  /  Files folder image pi_lib  
File Role Description
Files folder imageplugins (4 files)
  Plain text file PaginatorIterator.php Class The PaginatorIterator Main Class

  Files  /  pi_lib  /  Files folder image plugins  
File Role Description
  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  /  Files folder image plugins  
File Role Description
  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  /  Files folder image templates  
File Role Description
  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.