PHP Class APF_Demo_AdvancedUsage_Callback_FieldDefinition

Afficher le fichier Open project: michaeluno/admin-page-framework

Méthodes publiques

Свойство Type Description
$sPageSlug The page slug to add the tab and form elements.
$sSectionID The section slug to add to the tab.
$sTabSlug The tab slug to add to the page.

Méthodes publiques

Méthode Description
__construct ( $oFactory ) Sets up a form section.
replyToRedefineExampleField ( $aField ) : array Field callback methods - for field definitions that require heavy tasks should be defined with the callback methods.
replyToRedefinePostTitleField ( $aField ) : array Field callback methods - for field definitions that require heavy tasks should be defined with the callback methods.

Private Methods

Méthode Description
_getPostTitles ( $sPostTypeSlug = 'post' ) : array

Method Details

__construct() public méthode

Sets up a form section.
public __construct ( $oFactory )

replyToRedefineExampleField() public méthode

Field callback methods - for field definitions that require heavy tasks should be defined with the callback methods.
public replyToRedefineExampleField ( $aField ) : array
Résultat array

replyToRedefinePostTitleField() public méthode

Field callback methods - for field definitions that require heavy tasks should be defined with the callback methods.
public replyToRedefinePostTitleField ( $aField ) : array
Résultat array

Property Details

$sPageSlug public_oe property

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

$sSectionID public_oe property

The section slug to add to the tab.
public $sSectionID

$sTabSlug public_oe property

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