Class AdminPageFramework
The main class of the framework to be extended to create admin pages and forms.
The user defines their own class by extending this class with the
setUp()
method overridden to define admin pages.
Abstract
Package: AdminPageFramework\Factory\AdminPage
Since: 2.0.0
Extends: AdminPageFramework_Controller
Remark: Most of the internal methods are prefixed with the underscore like
Located at factory/admin_page/AdminPageFramework.php
Package: AdminPageFramework\Factory\AdminPage
Since: 2.0.0
Extends: AdminPageFramework_Controller
Remark: Most of the internal methods are prefixed with the underscore like
_getSomething()
and callback methods are prefixed with
_reply
. The methods for the users are public and do not have those
prefixes.Located at factory/admin_page/AdminPageFramework.php
Methods summary
public
|
#
__construct( array|integer|string $isOptionKey = null, string $sCallerPath = null, string $sCapability = 'manage_options', string $sTextDomain = 'admin-page-framework' )
Registers necessary callbacks and sets up internal components including properties. Examplenew MyAdminPageClass( 'my_custom_option_key', __FILE__ ); Parameters
Since
2.0.0
See |