Class QPaginatorBase
This controls works together with a QPaginatedControl to implement a paginator for that control. Multiple paginators per QPaginatedControl can be declared.
- QBaseClass
- QHtmlAttributeManagerBase
- QHtmlAttributeManager
- QControlBase
- QControl
- QPaginatorBase
Direct known subclasses
QPaginator
public
|
#
__construct(
Constructor method |
protected
|
|
public
|
|
public
boolean
|
|
public
|
#
Page_Click( string $strFormId, string $strControlId, string $strParameter )
Respond to the Page_Click event |
public
|
#
SetPaginatedControl(
Assign a paginated control to the paginator. |
protected
string
|
#
GetPreviousButtonsHtml( )
Renders the set of previous buttons. This would be whatever comes before the page numbers in the paginator. This particular implementation renders a "Previous" text button, with a separator, and a Rewind button that looks like a number followed by an ellipsis. |
protected
string
|
|
protected
string
|
#
GetNextButtonsHtml( )
Returns the HTML for the group of buttons that come after the group of page buttons. |
public
string
|
|
protected
int[]
|
#
CalcBunch( )
Calculates the start and end of the center bunch of the paginator. If the start is not 1, then we know we need to add a first page item too. If the end of the bunch is not the last page, then we need to add a last page item. Returns an array that has the start and end of the center bunch. |
public
|
#
LimitPageNumber( )
After adjusting the total item count, or page size, or other parameters, call this to adjust the page number to make sure it is not off the end. |
public
float
|
|
public
boolean|float|integer|mixed|string
|
|
public
mixed|
|
OverrideAttributes(),
__call()
|
CommentEnd,
CommentStart
|
protected
string
|
$strLabelForPrevious
Label for the 'Previous' link |
|
protected
string
|
$strLabelForNext
Label for the 'Next' link |
|
protected
integer
|
$intItemsPerPage
Default number of items per page |
#
15
|
protected
integer
|
$intPageNumber
Default page number (to begin rendering with) |
#
1
|
protected
integer
|
$intTotalItemCount
Default item count for the paginator |
#
0
|
protected
boolean
|
$blnUseAjax
Should switching the pages happen over AJAX or Server call (page reload) |
#
true
|
protected
|
$objPaginatedControl
The control which is going to be paginated with the paginator |
|
protected
string
|
$objWaitIcon
Default Wait Icon to be used |
#
'default'
|
protected
integer
|
$intIndexCount
Number of index items in the paginator to display |
#
10
|
protected
null| |
$prxPagination
|
#
null
|
protected
boolean
|
$blnIsBlockElement
|
#
false
|
protected
string
|
$strTag
The tag element inside which the paginator has to be rendered |
#
'span'
|
$attributes,
$styles
|
public
integer
|
$ItemsPerPage
How many items you want to display per page when Pagination is enabled |
public
integer
|
$PageNumber
The current page number you are viewing. 1 is the first page, there is no page zero. |
public
integer
|
$TotalItemCount
The total number of items in the ENTIRE recordset -- only used when Pagination is enabled |
public
boolean
|
$UseAjax
Whether to use ajax in the drawing. |
public
mixed
|
$WaitIcon
The wait icon to display |
public
integer
|
$IndexCount
The maximum number of page numbers to disply in the paginator |
public read-only
integer
|
$PageCount
Current number of pages being represented |
public read-only
mixed
|
$PaginatedControl
The paginated control linked to this control |
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|