HeaderLinksView Class Reference

Inheritance diagram for HeaderLinksView:
View

Public Member Functions

 __construct ($settingsMenuItems, $userMenuItems)

Static Public Member Functions

static resolveAjaxOptionsForGameDashboardModel ($id)

Data Fields

const USER_MENU_ID = 'user-header-menu'
const SETTINGS_MENU_ID = 'settings-header-menu'
const MERGED_MENU_ID = 'settings-header-menu'
const USER_GAME_DASHBOARD_WRAPPER_ID = 'header-game-dashboard-link-wrapper'
const USER_GAME_DASHBOARD_LINK_ID = 'header-game-dashboard-link'
const MODAL_CONTAINER_PREFIX = 'modalContainer'
const MERGE_USER_AND_SETTINGS_MENU_IF_MOBILE = true
const CLAIM_ITEM_LINK_ID = 'claim-item-link'
const USER_CALENDAR_WRAPPER_ID = 'header-calendar-link-wrapper'

Protected Member Functions

 renderContent ()
 registerScripts ()
 getContainerWrapperTag ()

Static Protected Member Functions

static renderHeaderMenus ($userMenuItems, $settingsMenuItems)
static resolveUserMenuItemsWithTopLevelItem ($menuItems)
static resolveSettingsMenuItemsWithTopLevelItem ($menuItems)
static resolveMenuItemsWithTopLevelItem ($topLevel, $menuItems)
static getUserMenuTopLevelItem ()
static getSettingsMenuTopLevel ()
static renderHeaderMenuContent ($menuItems, $menuId)
static renderHeaderGameDashboardContent ()
static renderGetNewCollectionItemNotification ()
static renderAudioContent ()
static getModalContainerId ($id)
static renderHeaderCalendarContent ()

Protected Attributes

 $settingsMenuItems
 $userMenuItems
 $notificationsUrl

Detailed Description

Definition at line 37 of file HeaderLinksView.php.


Constructor & Destructor Documentation

__construct ( settingsMenuItems,
userMenuItems 
)
Parameters:
array $settingsMenuItems
array $userMenuItems

Definition at line 67 of file HeaderLinksView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 75 of file HeaderLinksView.php.

static resolveAjaxOptionsForGameDashboardModel ( id  )  [static]
Parameters:
$id 
Returns:
array

Definition at line 202 of file HeaderLinksView.php.

static renderHeaderCalendarContent (  )  [static, protected]

Renders header calendar content.

Returns:
string

Definition at line 279 of file HeaderLinksView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Oct 20 07:10:25 2017