PHP 클래스 DashboardController, vanilla

상속: extends AppController
파일 보기 프로젝트 열기: vanilla/vanilla 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Set PageName.
부터: 2.0.0
public __construct ( )

addSideMenu() 공개 메소드

public addSideMenu ( string $currentUrl = '' )
$currentUrl string

initialize() 공개 메소드

Always called by dispatcher before controller's requested method.
부터: 2.0.0
public initialize ( )

setHighlightRoute() 공개 메소드

public setHighlightRoute ( string $currentUrl = '' )
$currentUrl string

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.
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.