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

Public Member Functions

 __construct ($settingsMenuItems, $userMenuItems)
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

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'
 
const USER_SWITCHER_LINK_ID = 'user-switcher-link'
 
const USER_SWITCHER_WRAPPER_ID = 'user-switcher-wrapper'
 
const USER_SWITCHER_WRAPPER_OPEN_CLASS = 'switcher-open'
 
const USER_SWITCHER_WRAPPER_SWICHED_CLASS = 'switched-user'
 
const USER_SWITCHER_INPUT_ID = 'User_username_name'
 

Protected Member Functions

 renderContent ()
 
 registerScripts ()
 
 getContainerWrapperTag ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Static Protected Member Functions

static renderHeaderMenus ($userMenuItems, $settingsMenuItems)
 
static resolveUserSwitcher ()
 
static hasUserSwitcherAccess ()
 
static renderUserSwitchControl ()
 
static renderUserSwitcherContainer ($switchedUserContent)
 
static renderSwitchedUserContent ($primaryUser)
 
static renderCurrentUserContent ()
 
static renderPrimaryUserContent ($primaryUser)
 
static renderUserSwitcherAutoCompleteControl ()
 
static renderModalContainer ($formId)
 
static resolveSwitchToUrlByUsername ($username)
 
static registerUserSwitcherScripts ()
 
static registerUserSwitcherVisibilityScript ()
 
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
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Detailed Description

Definition at line 37 of file HeaderLinksView.php.

Constructor & Destructor Documentation

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

Definition at line 77 of file HeaderLinksView.php.

Member Function Documentation

static resolveAjaxOptionsForGameDashboardModel (   $id)
static
Parameters
$id
Returns
array

Definition at line 325 of file HeaderLinksView.php.

static renderHeaderCalendarContent ( )
staticprotected

Renders header calendar content.

Returns
string

Definition at line 402 of file HeaderLinksView.php.


The documentation for this class was generated from the following file:
Generated on Sat May 30 2020 07:10:48