PHP Class APF_Demo_PageMetaBox__WithFormSection

Demonstrates the usage of Admin Page Framework. http://en.michaeluno.jp/admin-page-framework/ Copyright (c) 2013-2016 Michael Uno; Licensed GPLv2
Inheritance: extends AdminPageFramework_PageMetaBox
Show file Open project: michaeluno/admin-page-framework

Public Methods

Method Description
setUp ( ) * ( optional ) Use the setUp() method to define settings of this meta box.
validate ( $aNewOptions, $aOldOptions, $oAdminPage, $aSubmitInfo ) Validates the submitted form data.

Method Details

setUp() public method

* ( optional ) Use the setUp() method to define settings of this meta box.
public setUp ( )

validate() public method

Alternatively you can use validation_{class name}() predefined callback method.
public validate ( $aNewOptions, $aOldOptions, $oAdminPage, $aSubmitInfo )