PHP Class AdminPageFramework_Form_Controller

Since: 2.0.0
Since: 3.3.1 Changed the name from `AdminPageFramework_Setting`.
Inheritance: extends AdminPageFramework_Form_View
显示文件 Open project: michaeluno/admin-page-framework Class Usage Examples

Protected Properties

Property Type Description
$_asTargetSectionID

Public Methods

Method Description
addField ( $asFieldset )
addResource ( $sKey, $sValue )
addSection ( array $aSectionset )
getResources ( $sKey )
hasFieldError ( )
hasSubmitNotice ( $sType = '' )
removeField ( $sFieldID )
removeSection ( $sSectionID )
setFieldErrors ( $aErrors )
setResources ( $sKey, $mValue )
setSubmitNotice ( $sMessage, $sType = 'error', $asAttributes = [], $bOverride = true )
unsetResources ( $aKeys )

Private Methods

Method Description
_getTargetSectionID ( $asTargetSectionID )
_isFieldsetDefinition ( $asFieldset )
_setFieldset ( array $aFieldset )

Method Details

addField() public method

public addField ( $asFieldset )

addResource() public method

public addResource ( $sKey, $sValue )

addSection() public method

public addSection ( array $aSectionset )
$aSectionset array

getResources() public method

public getResources ( $sKey )

hasFieldError() public method

public hasFieldError ( )

hasSubmitNotice() public method

public hasSubmitNotice ( $sType = '' )

removeField() public method

public removeField ( $sFieldID )

removeSection() public method

public removeSection ( $sSectionID )

setFieldErrors() public method

public setFieldErrors ( $aErrors )

setResources() public method

public setResources ( $sKey, $mValue )

setSubmitNotice() public method

public setSubmitNotice ( $sMessage, $sType = 'error', $asAttributes = [], $bOverride = true )

unsetResources() public method

public unsetResources ( $aKeys )

Property Details

$_asTargetSectionID protected_oe property

protected $_asTargetSectionID