OssnPagination Class Reference

Public Member Functions

 __construct ($ppage=10, array $options=array())
 
 setItem ($item)
 
 getItem ()
 
 pagination ($vars=array())
 

Static Public Member Functions

static constructUrlArgs ($kill=array())
 

Detailed Description

Definition at line 11 of file OssnPagination.php.

Constructor & Destructor Documentation

__construct (   $ppage = 10,
array  $options = array() 
)

Construct a pagination class;

Returns
void

Definition at line 17 of file OssnPagination.php.

Member Function Documentation

static constructUrlArgs (   $kill = array())
static

Get current url with arguments;

Returns
string

Definition at line 29 of file OssnPagination.php.

getItem ( )

Get spilted array or object;

object may changed to arrays

Returns
boolean

Definition at line 85 of file OssnPagination.php.

pagination (   $vars = array())

Output pagination bar

Returns
false|string

Definition at line 124 of file OssnPagination.php.

setItem (   $item)

Set arrays or objects to pagination;

array|object $item Item

Returns
void

Definition at line 68 of file OssnPagination.php.


The documentation for this class was generated from the following file: