class Pagination (View source)

Properties

$current_page
$page_size
$result_offset
$number_of_pages
$result_count
$result_lower
$result_upper
$classOff
$classOn
$classCurrent
$URL
$jsFunctionCall
$queryStringPagingVariable
$additionalVars

Methods

__construct()

No description

reset()

No description

init($page_num, $num_results = 0, $URL = '', $size = 20, $jsFunctionCall = '')

No description

getBaseURL($url = false)

No description

setAdditionalQueryStringVariables($args)

No description

recalc($num_results)

No description

getLIMIT()

No description

getCurrentURL()

No description

getCurrentPage()

No description

getRequestedPage()

No description

hasNextPage()

No description

hasPreviousPage()

No description

getTotalPages()

No description

getNextURL()

No description

getPreviousURL()

No description

getNext($linkText = false, $wrapper = 'span')

No description

getNextInt()

No description

getPrevious($linkText = false, $wrapper = 'span')

No description

getPreviousInt()

No description

getAsJSONObject()

No description

getPages($wrapper = 'span')

No description

limitResultsToPage($results = array())

No description

getJSFunctionCall($pageNum)

No description

Details

__construct()

No description

reset()

No description

init($page_num, $num_results = 0, $URL = '', $size = 20, $jsFunctionCall = '')

No description

Parameters

$page_num
$num_results
$URL
$size
$jsFunctionCall

protected getBaseURL($url = false)

No description

Parameters

$url

setAdditionalQueryStringVariables($args)

No description

Parameters

$args

recalc($num_results)

No description

Parameters

$num_results

getLIMIT()

No description

getCurrentURL()

No description

getCurrentPage()

No description

getRequestedPage()

No description

hasNextPage()

No description

hasPreviousPage()

No description

getTotalPages()

No description

getNextURL()

No description

getPreviousURL()

No description

getNext($linkText = false, $wrapper = 'span')

No description

Parameters

$linkText
$wrapper

getNextInt()

No description

getPrevious($linkText = false, $wrapper = 'span')

No description

Parameters

$linkText
$wrapper

getPreviousInt()

No description

getAsJSONObject()

No description

getPages($wrapper = 'span')

No description

Parameters

$wrapper

limitResultsToPage($results = array())

No description

Parameters

$results

getJSFunctionCall($pageNum)

No description

Parameters

$pageNum