__construct() __construct( $perPage, $instance) __construct pass values when class is istantiated Parameters $perPage $instance
getStart() getStart() : \Lib\numeric getStart creates the starting point for limiting the dataset Returns \Lib\numeric
setTotal() setTotal( $_totalRows) setTotal collect a numberic value and assigns it to the totalRows Parameters $_totalRows
getLimit() getLimit() : string getLimit returns the limit for the data source, calling the getStart method and passing in the number of items perp page Returns string
pageLinks() pageLinks( $path = '?', $ext = null) : string pageLinks create the html links for navigating through the dataset Parameters $path $ext Returns string — returns the html menu
setInstance() setInstance() setInstance sets the instance parameter, if numeric value is 0 then set to 1