PHP Class AdminPageFrameworkLoader_AdminPage_Section_Base

Since: 3.5.3
Inheritance: extends AdminPageFrameworkLoader_AdminPage_RootBase
Show file Open project: michaeluno/admin-page-framework

Public Properties

Property Type Description
$oFactory Stores the factory object.
$sPageSlug Stores the associated page slug with the adding section.
$sSectionID Stores the section ID.
$sTabSlug Stores the associated tab slug with the adding section.

Public Methods

Method Description
__construct ( $oFactory, $sPageSlug, array $aSectionDefinition ) Sets up hooks and properties.
addFields ( $oFactory, $sSectionID ) Called when adding fields.
validate ( $aInput, $aOldInput, $oFactory, $aSubmitInfo ) Called upon form validation.

Private Methods

Method Description
_addSection ( $oFactory, $sPageSlug, array $aSectionDefinition )

Method Details

__construct() public method

Sets up hooks and properties.
public __construct ( $oFactory, $sPageSlug, array $aSectionDefinition )
$aSectionDefinition array

addFields() public method

Called when adding fields.
public addFields ( $oFactory, $sSectionID )

validate() public method

Called upon form validation.
public validate ( $aInput, $aOldInput, $oFactory, $aSubmitInfo )

Property Details

$oFactory public property

Stores the factory object.
public $oFactory

$sPageSlug public property

Stores the associated page slug with the adding section.
public $sPageSlug

$sSectionID public property

Stores the section ID.
public $sSectionID

$sTabSlug public property

Stores the associated tab slug with the adding section.
public $sTabSlug