Class SmartActiveDataProvider
CActiveDataProvider with persistent sort order and filters and optional id checksum calculation
- CComponent
- CDataProvider implements IDataProvider
- CActiveDataProvider
- SmartActiveDataProvider
Package: application\components
Located at x2engine/protected/components/SmartActiveDataProvider.php
Located at x2engine/protected/components/SmartActiveDataProvider.php
public
|
|
public
CPagination
|
|
protected
array
|
|
public
|
|
public
|
|
public
array
|
|
public
array
|
|
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
type
|
#
calculateTotalItemCount( )
Generates the item count without eager loading, to improve performance. |
public static
string
|
fetchKeys(),
getCountCriteria(),
getCriteria(),
getModel(),
getSort(),
setCountCriteria(),
setCriteria()
|
getId(),
getItemCount(),
setData(),
setId(),
setKeys(),
setPagination(),
setSort(),
setTotalItemCount()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
public
mixed
|
$uid | null |
|
public
boolean
|
$dbPersistentGridSettings | false |
|
public
boolean
|
$disablePersistentGridSettings | false |
|
public
boolean
|
$calculateChecksum | false |
#
$calculateChecksum If true, id checksum will be calculated when data is
fetched. |
$keyAttribute,
$model,
$modelClass
|
$countCriteria,
$criteria,
$sort
|
$data,
$id,
$itemCount,
$keys,
$pagination,
$totalItemCount
|