Property | Type | Description | |
---|---|---|---|
$DEFAULT_PAGE_SIZE | |||
$PAGING_KEYWORDS |
Method | Description | |
---|---|---|
buildQuerystring ( ) : string | Build the query string from the request | |
calculateLimitAndOffset ( $limit = null ) | Calculate the limit and offset based on the request string parameters. | |
calculatePagingHeaders ( integer $limit, integer $offset, integer $total_rows ) : array | Calculate the link meta-data for paging purposes, return an array with paging information | |
setDefaultLimit ( $limit ) |
Method | Description | |
---|---|---|
getLinkHeader ( $paging ) | Provide paging headers in the response using the Link HTTP header. |
public static buildQuerystring ( ) : string | ||
return | string |
public static calculateLimitAndOffset ( $limit = null ) |
protected static getLinkHeader ( $paging ) |