ContentBox Core API 1.5.7

contentbox.plugins
Class Paging

WEB-INF.cftags.component
        extended by contentbox.plugins.Paging

public class Paging
extends WEB-INF.cftags.component

A paging plugin for ContentBox


Constructor Summary
init(any settingService)
 
Method Summary
 any GETPAGINGBANDGAP()
 any GETPAGINGMAXROWS()
 void SETPAGINGBANDGAP(any PagingBandGap)
 void SETPAGINGMAXROWS(any pagingMaxRows)
 struct getboundaries([numeric pagingMaxRows])
          Calculate the startrow and maxrow
 any renderit(numeric foundRows, string link, [numeric pagingMaxRows], [boolean asList='false'])
          render plugin tabs
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any settingService)

Parameters:
settingService
Method Detail

GETPAGINGBANDGAP

public any GETPAGINGBANDGAP()


GETPAGINGMAXROWS

public any GETPAGINGMAXROWS()


SETPAGINGBANDGAP

public void SETPAGINGBANDGAP(any PagingBandGap)

Parameters:
PagingBandGap

SETPAGINGMAXROWS

public void SETPAGINGMAXROWS(any pagingMaxRows)

Parameters:
pagingMaxRows

getboundaries

public struct getboundaries([numeric pagingMaxRows])
Calculate the startrow and maxrow

Parameters:
pagingMaxRows - You can override the paging max rows here.

renderit

public any renderit(numeric foundRows, string link, [numeric pagingMaxRows], [boolean asList='false'])
render plugin tabs

Parameters:
foundRows - The found rows to page
link - The link to use, you must place the @page@ place holder so the link ca be created correctly
pagingMaxRows - You can override the paging max rows here.
asList - Render the paging links as lists or not

ContentBox Core API 1.5.7