PHP Class AdminPageFramework_Controller

Inheritance: extends AdminPageFramework_View
显示文件 Open project: michaeluno/admin-page-framework Class Usage Examples

Public Methods

Method Description
addHelpTab ( $aHelpTab )
addLinkToPluginDescription ( $sTaggedLinkHTML1, $sTaggedLinkHTML2 = null, $_and_more = null )
addLinkToPluginTitle ( $sTaggedLinkHTML1, $sTaggedLinkHTML2 = null, $_and_more = null )
enqueueScript ( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )
enqueueScripts ( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )
enqueueStyle ( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )
enqueueStyles ( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )
getOption ( $sOptionKey, $asKey = null, $vDefault = null )
load ( )
setAdminNotice ( $sMessage, $sClassSelector = 'error', $sID = '' )
setCapability ( $sCapability )
setDisallowedQueryKeys ( $asQueryKeys, $bAppend = true )
setPluginSettingsLinkLabel ( $sLabel )
setUp ( )

Method Details

addHelpTab() public method

public addHelpTab ( $aHelpTab )

addLinkToPluginDescription() public method

public addLinkToPluginDescription ( $sTaggedLinkHTML1, $sTaggedLinkHTML2 = null, $_and_more = null )

addLinkToPluginTitle() public method

public addLinkToPluginTitle ( $sTaggedLinkHTML1, $sTaggedLinkHTML2 = null, $_and_more = null )

enqueueScript() public method

public enqueueScript ( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )

enqueueScripts() public method

public enqueueScripts ( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )

enqueueStyle() public method

public enqueueStyle ( $sSRC, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )

enqueueStyles() public method

public enqueueStyles ( $aSRCs, $sPageSlug = '', $sTabSlug = '', $aCustomArgs = [] )

getOption() public static method

public static getOption ( $sOptionKey, $asKey = null, $vDefault = null )

load() public method

public load ( )

setAdminNotice() public method

public setAdminNotice ( $sMessage, $sClassSelector = 'error', $sID = '' )

setCapability() public method

public setCapability ( $sCapability )

setDisallowedQueryKeys() public method

public setDisallowedQueryKeys ( $asQueryKeys, $bAppend = true )

setPluginSettingsLinkLabel() public method

public setPluginSettingsLinkLabel ( $sLabel )

setUp() public method

public setUp ( )