Interface IDataProvider
IDataProvider is the interface that must be implemented by data provider classes.
Data providers are components that can feed data for widgets such as data grid, data list. Besides providing data, they also support pagination and sorting.
Direct known implementers
CDataProviderIndirect known implementers
CActiveDataProvider, CArrayDataProvider, CSqlDataProvider, FileSystemObjectDataProvider, SmartActiveDataProvider
Package: system\web
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/framework/base/interfaces.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/framework/base/interfaces.php
public
string
|
|
public
integer
|
#
getItemCount( boolean $refresh = false )
Returns the number of data items in the current page. This is equivalent to
|
public
integer
|
#
getTotalItemCount( boolean $refresh = false )
Returns the total number of data items. When pagination is set false, this returns the same value as itemCount. |
public
array
|
|
public
array
|
|
public
|
|
public
|