Pager.class.php

From Sum-e Wiki

Jump to: navigation, search

Pager class handles data for pager.

Example of use

$pager = new Pager( "/Category/Index/{$category->id}", $max, $page );
$this->Assign( 'pager', $pager );


Properties

public $max = 0;		// number of elements
public $elements = 10;	        // elements on page
public $page = 1;		// current page
public $self = '/';		// base url	
public $option = null;    	// filter option
public $order = null;   	// result order option
public $elements_loop = null;   // read only

freelance writing opportunities

Personal tools