OPEN SOURCE SOCIAL NETWORK 6.6
Loading...
Searching...
No Matches
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())
 

Constructor & Destructor Documentation

◆ __construct()

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

Construct a pagination class;

Returns
void

Member Function Documentation

◆ constructUrlArgs()

static constructUrlArgs (   $kill = array())
static

Get current url with arguments;

Returns
string

◆ getItem()

getItem ( )

Get spilted array or object; @removal It will be removed within any v5.x version $arsalanshah 3/11/2018

object may changed to arrays

Returns
boolean

◆ pagination()

pagination (   $vars = array())

Output pagination bar

Returns
false|string

◆ setItem()

setItem (   $item)

Set arrays or objects to pagination; @removal It will be removed within any v5.x version $arsalanshah 3/11/2018

@params array|object $item Item

Returns
void

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