Class CBasePager
CBasePager is the base class for all pagers.
It provides the calculation of page count and maintains the current page.
- CComponent
- CBaseController
- CWidget
- CBasePager
Abstract
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/CBasePager.php
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/CBasePager.php
public
|
|
public
|
|
protected
|
#
createPages( )
Creates the default pagination. This is called by |
public
integer
|
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
|
|
protected
string
|
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
init(),
render(),
run(),
setId()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
|
$actionPrefix,
$skin
|
public
|
$pages |
#
The pagination information. |
public
integer
|
$pageSize |
#
Number of items in each page. |
public
integer
|
$itemCount |
#
Total number of items. |
public
integer
|
$pageCount |
#
Number of pages. |
public
integer
|
$currentPage |
#
The zero-based index of the current page. Defaults to 0. |
$controller,
$id,
$owner,
$viewPath
|