LeaderboardView Class Reference

Inheritance diagram for LeaderboardView:
MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $leaderboardData, $activeActionElementType)
 isUniqueToAPage ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 renderContent ()
 renderLeaderboardContent ()
 resolveActionElementInformationDuringRender (&$elementInformation)

Protected Attributes

 $controllerId
 $moduleId
 $leaderboardData
 $activeActionElementType
 $cssClasses = array('ListView')

Detailed Description

A view that displays the gamification leaderboard

Definition at line 31 of file LeaderboardView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 55 of file LeaderboardView.php.

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Definition at line 100 of file LeaderboardView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 125 of file LeaderboardView.php.

resolveActionElementInformationDuringRender ( &$  elementInformation  )  [protected]

Override if any manipulation is needed on the $elementInformaiton prior to rendering

Parameters:
array $elementInformation

Reimplemented from MetadataView.

Definition at line 130 of file LeaderboardView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat May 25 01:25:12 2013