Метод | Описание | |
---|---|---|
__construct ( ) | Set PageName. | |
addSideMenu ( string $currentUrl = '' ) | ||
initialize ( ) | Include JS, CSS, and modules used by all methods. | |
setHighlightRoute ( string $currentUrl = '' ) | ||
userPreferenceCollapse ( ) | Sets a user's preference for dashboard panel nav collapsing. Collapsed groups are stored in an list, by their 'data-key' attribute on the nav-header element. | |
userPreferenceDashboardLandingPage ( ) | Saves the name of the section that a user has last navigated to serve as the landing page for whenever they navigate to the dashboard. | |
userPreferenceSectionLandingPage ( ) | Sets a user's preference for the landing page for each top-level nav item. Stored in a list as SectionName->url pairs, where SectionName is the 'data-section' attribute on the panel nav link. |
public initialize ( ) |
public setHighlightRoute ( string $currentUrl = '' ) | ||
$currentUrl | string |
public userPreferenceCollapse ( ) |
public userPreferenceDashboardLandingPage ( ) |
public userPreferenceSectionLandingPage ( ) |