Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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'
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 ()

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

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

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 85 of file HeaderLinksView.php.

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

Definition at line 325 of file HeaderLinksView.php.

static renderHeaderCalendarContent (  )  [static, protected]

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:
 All Data Structures Functions Variables
Generated on Sat Jun 15 07:10:59 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8