PHP Class APF_Demo_BuiltinFieldTypes_Text

Show file Open project: michaeluno/admin-page-framework

Public Properties

Property Type Description
$sPageSlug The page slug to add the tab and form elements.
$sTabSlug The tab slug to add to the page.

Public Methods

Method Description
__construct ( $oFactory ) Adds in-page tabs and sets up hooks.
replyToLoadTab ( $oFactory ) Adds form sections.
replyToModifyLeftFooterText ( $sHTML ) : string Modifies the left footer text.
replyToModifyRightFooterText ( $sHTML ) : string Modifies the right footer text.

Method Details

__construct() public method

Adds in-page tabs and sets up hooks.
public __construct ( $oFactory )

replyToLoadTab() public method

Triggered when the tab is loaded.
public replyToLoadTab ( $oFactory )

replyToModifyLeftFooterText() public method

Modifies the left footer text.
public replyToModifyLeftFooterText ( $sHTML ) : string
return string

replyToModifyRightFooterText() public method

Modifies the right footer text.
public replyToModifyRightFooterText ( $sHTML ) : string
return string

Property Details

$sPageSlug public property

The page slug to add the tab and form elements.
public $sPageSlug

$sTabSlug public property

The tab slug to add to the page.
public $sTabSlug