$oScreen
$oScreen : object
Stores the screen object.
Provides methods to manipulate the contextual help tab .
addHelpText( $strHTMLContent, $strHTMLSidebarContent)
Adds the given HTML text to the contextual help pane.
The help tab will be the meta box title and all the added text will be inserted into the content area within the tab.
$this->addHelpText(
__( 'This text will appear in the contextual help pane.', 'admin-page-framework-demo' ),
__( 'This description goes to the sidebar of the help pane.', 'admin-page-framework-demo' )
);
$strHTMLContent | ||
$strHTMLSidebarContent |
addHelpTextForFormFields( $strFieldTitle, $strHelpText, $strHelpTextSidebar)
Adds the given HTML text to the contextual help pane.
The help tab will be the meta box title and all the added text will be inserted into the content area within the tab. On contrary to the addHelpTab() method of the AdminPageFramework_Help class, the help tab title is already determined and the meta box ID and the title will be used.
$strFieldTitle | ||
$strHelpText | ||
$strHelpTextSidebar |
setHelpTab( $strID, $strTitle, $arrContents, $arrSideBarContents)
Sets the contextual help tab.
On contrary to other methods relating to contextual help tabs that just modify the class properties, this finalizes the help tab contents. In other words, the set values here will take effect.
$strID | ||
$strTitle | ||
$arrContents | ||
$arrSideBarContents |