All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions | Protected Attributes
UserGameDashboardView Class Reference
Inheritance diagram for UserGameDashboardView:
View

Public Member Functions

 __construct (CController $controller, User $user, array $generalLevelData, array $badgeData, array $rankingData, array $statisticsData, array $collectionData)
 
 isUniqueToAPage ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Static Public Member Functions

static renderCollectionContent (User $user, GameCollection $collection)
 
static renderCoinsContent ($coinValue, User $user)
 

Data Fields

const COLLECTION_CONTAINER_ID_PREFIX = 'game-collection-container'
 
const COMPLETE_COLLECTION_LINK_PREFIX = 'complete-collection-link'
 

Protected Member Functions

 renderContent ()
 
 registerScripts ()
 
 registerCoreScriptAndPublishToAssets ()
 
 registerCloseButtonScript ()
 
 registerLazyLoadImagesScript ()
 
 renderDashboardContent ()
 
 renderProfileContent ()
 
 renderMiniStatisticsContent ()
 
 renderMiniStatisticsChart ()
 
 renderBadgesContent ()
 
 renderEmptyBadgeContent ()
 
 renderPopulatedBadgeContent ()
 
 renderLeaderboardContent ()
 
 renderStatisticsContent ()
 
 renderCollectionsContent ()
 
 renderCollectionsCarouselWrapperAndContent ()
 
 getCompletedCollectionCount ()
 
 getGameCoinForUser ()
 
 renderPercentHolderContent ($percentageComplete)
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Static Protected Member Functions

static renderCollectionItemsContent (User $user, GameCollection $collection, GameCollectionRules $gameCollectionRules)
 
static renderCompleteButton ($collectionId, $userId, $canCollect=true)
 
static getCollectionContainerId ($collectionId)
 
static getCompleteCollectionLinkId ($collectionId)
 
static renderGameCoinRefreshAjax ($userId)
 
static getGameCoinRefreshUrl ($userId)
 
static getGameCoinContainerId ()
 
static renderDashboardCloseButton ()
 
static getDummyImageUrl ()
 
static resolveLazyLoadImage ($source, $alt= '', $htmlOptions=array())
 

Protected Attributes

 $controller
 
 $user
 
 $generalLevelData
 
 $badgeData
 
 $rankingData
 
 $statisticsData
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Detailed Description

Class for displaying a user's game dashboard

Definition at line 40 of file UserGameDashboardView.php.

Constructor & Destructor Documentation

__construct ( CController  $controller,
User  $user,
array  $generalLevelData,
array  $badgeData,
array  $rankingData,
array  $statisticsData,
array  $collectionData 
)
Parameters
CController$controller
User$user
array$generalLevelData
array$badgeData
array$rankingData
array$statisticsData
array$collectionData

Definition at line 105 of file UserGameDashboardView.php.


The documentation for this class was generated from the following file:
Generated on Mon Feb 24 2020 07:10:56