ModalGameNotificationContainerView Class Reference

Inheritance diagram for ModalGameNotificationContainerView:

Public Member Functions

 __construct ($gameNotifications)
 isUniqueToAPage ()

Protected Member Functions

 renderContent ()

Static Protected Member Functions

static renderNotificationContent ($notification, $index, $modal)
static resolveAndRenderPostingAndContinueLinksContent (GameNotification $notification, $index)
static renderPostToProfileLinkContent (GameNotification $notification, $index)

Protected Attributes

 $gameNotifications = array()

Detailed Description

Class for displaying a modal window with a game notification.

Definition at line 40 of file ModalGameNotificationContainerView.php.

Constructor & Destructor Documentation

__construct ( gameNotifications  ) 

Given an array of GameNotification models.

array $gameNotifications

Definition at line 48 of file ModalGameNotificationContainerView.php.

Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 53 of file ModalGameNotificationContainerView.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 140 of file ModalGameNotificationContainerView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 14 07:11:03 2019