Class CLinkPager
CLinkPager displays a list of hyperlinks that lead to different pages of target.
- CComponent
- CBaseController
- CWidget
- CBasePager
- CLinkPager
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/web/widgets/pagers/CLinkPager.php
public
|
|
public
|
|
protected
array
|
|
protected
string
|
#
createPageButton( string $label, integer $page, string $class, boolean $hidden, boolean $selected )
Creates a page button. You may override this method to customize the page buttons. |
protected
array
|
|
public
|
|
public static
|
createPageUrl(),
createPages(),
getCurrentPage(),
getItemCount(),
getPageCount(),
getPageSize(),
getPages(),
setCurrentPage(),
setItemCount(),
setPageSize(),
setPages()
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
render(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
string |
CSS_FIRST_PAGE
|
'first' |
|
string |
CSS_LAST_PAGE
|
'last' |
|
string |
CSS_PREVIOUS_PAGE
|
'previous' |
|
string |
CSS_NEXT_PAGE
|
'next' |
|
string |
CSS_INTERNAL_PAGE
|
'page' |
|
string |
CSS_HIDDEN_PAGE
|
'hidden' |
|
string |
CSS_SELECTED_PAGE
|
'selected' |
public
string
|
$firstPageCssClass |
|
#
the CSS class for the first page button. Defaults to 'first'. |
public
string
|
$lastPageCssClass |
|
#
the CSS class for the last page button. Defaults to 'last'. |
public
string
|
$previousPageCssClass |
|
#
the CSS class for the previous page button. Defaults to 'previous'. |
public
string
|
$nextPageCssClass |
|
#
the CSS class for the next page button. Defaults to 'next'. |
public
string
|
$internalPageCssClass |
|
#
the CSS class for the internal page buttons. Defaults to 'page'. |
public
string
|
$selectedPageCssClass |
|
#
the CSS class for the selected page buttons. Defaults to 'selected'. |
public
integer
|
$maxButtonCount | 10 |
#
maximum number of page buttons that can be displayed. Defaults to 10. |
public
string
|
$nextPageLabel |
|
#
the text label for the next page button. Defaults to 'Next >'. Setting this to false will disable this button. |
public
string
|
$prevPageLabel |
|
#
the text label for the previous page button. Defaults to '< Previous'. Setting this to false will disable this button. |
public
string
|
$firstPageLabel |
|
#
the text label for the first page button. Defaults to '<< First'. Setting this to false will disable this button. |
public
string
|
$lastPageLabel |
|
#
the text label for the last page button. Defaults to 'Last >>'. Setting this to false will disable this button. |
public
string
|
$header |
|
#
the text shown before page buttons. Defaults to 'Go to page: '. |
public
string
|
$footer | '' |
#
the text shown after page buttons. |
public
mixed
|
$cssFile |
|
#
the CSS file used for the widget. Defaults to null, meaning using the default CSS file included together with the widget. If false, no CSS file will be used. Otherwise, the specified CSS file will be included when using this widget. |
public
array
|
$htmlOptions | array() |
#
HTML attributes for the pager container tag. |
$actionPrefix,
$skin
|
$currentPage,
$itemCount,
$pageCount,
$pageSize,
$pages
|
$controller,
$id,
$owner,
$viewPath
|