PHP Class AdminPageFrameworkLoader_AdminPageWelcome

Since: 3.5.0
Inheritance: extends AdminPageFramework
Show file Open project: michaeluno/admin-page-framework

Public Methods

Method Description
_replyToHandleRedirects ( ) Handles page redirects.
replyToFilterContentTop ( $sContent ) : string Filters the top part of the page content.
replyToLoadClassPages ( $oFactory ) Set up page settings.
replyToLoadPage ( $oFactory ) : void Triggered when the page loads.
setUp ( ) Sets up admin pages.
start ( ) User constructor.

Private Methods

Method Description
_goToWelcomePage ( )
_setInitialOptions ( $oOption, $sVersionUpgradedFrom ) : void
_setPreferences ( $oFactory ) Gets triggered when the page loads.

Method Details

_replyToHandleRedirects() public method

This is called to prevent the plugin from performing the redirect when the plugin is not activated or intervene the activation process. If this is called in the start() method above, it will redirect the user to the page during the activation process and the user gets a page that is not created because the plugin is not activated.
Since: 3.5.0

replyToFilterContentTop() public method

Filters the top part of the page content.
public replyToFilterContentTop ( $sContent ) : string
return string

replyToLoadClassPages() public method

Set up page settings.
public replyToLoadClassPages ( $oFactory )

replyToLoadPage() public method

Adds tabs.
public replyToLoadPage ( $oFactory ) : void
return void

setUp() public method

Sets up admin pages.
Since: 3.5.0
public setUp ( )

start() public method

User constructor.
Since: 3.5.0
public start ( )