Class CListPager
CListPager displays a dropdown list that contains options leading to different pages of target.
- CComponent
- CBaseController
- CWidget
- CBasePager
- CListPager
Package: system\web\widgets\pagers
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/CListPager.php
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/CListPager.php
public
|
|
public
|
|
protected
string
|
#
generatePageText( integer $page )
Generates the list option for the specified page number. You may override this method to customize the option display. |
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()
|
public
string
|
$header |
|
#
the text shown before page buttons. Defaults to 'Go to page: '. |
public
string
|
$footer |
|
#
the text shown after page buttons. |
public
string
|
$promptText |
|
#
the text displayed as a prompt option in the dropdown list. Defaults to null, meaning no prompt. |
public
string
|
$pageTextFormat |
|
#
the format string used to generate page selection text. The sprintf function will be used to perform the formatting. |
public
array
|
$htmlOptions | array() |
#
HTML attributes for the enclosing 'div' tag. |
$actionPrefix,
$skin
|
$currentPage,
$itemCount,
$pageCount,
$pageSize,
$pages
|
$controller,
$id,
$owner,
$viewPath
|