LeaderboardDataProvider Class Reference

Inheritance diagram for LeaderboardDataProvider:
RedBeanModelDataProvider

Public Member Functions

 setType ($type)
 calculateTotalItemCount ()

Static Public Member Functions

static getUserLeaderboardData ($type, $offset=null, $count=null)

Protected Member Functions

 fetchData ()
 fetchKeys ()

Protected Attributes

 $type

Detailed Description

A data provider that manages the leaderboard

Definition at line 40 of file LeaderboardDataProvider.php.


Member Function Documentation

fetchData (  )  [protected]

See the yii documentation.

Reimplemented from RedBeanModelDataProvider.

Definition at line 58 of file LeaderboardDataProvider.php.

calculateTotalItemCount (  ) 

See the yii documentation. This function is made public for unit testing.

Reimplemented from RedBeanModelDataProvider.

Definition at line 78 of file LeaderboardDataProvider.php.

fetchKeys (  )  [protected]

See the yii documentation.

Reimplemented from RedBeanModelDataProvider.

Definition at line 86 of file LeaderboardDataProvider.php.

static getUserLeaderboardData ( type,
offset = null,
count = null 
) [static]
Parameters:
string $type
null|int $offset
null|int $count
Returns:
array

Definition at line 102 of file LeaderboardDataProvider.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 30 07:10:26 2017