PHP Class AdminPageFrameworkLoader_Registry

The plugin will refer to these information.
Since: 3.5.0
Inheritance: extends AdminPageFrameworkLoader_Registry_Base
ファイルを表示 Open project: michaeluno/admin-page-framework Class Usage Examples

Public Properties

Property Type Description
$_aAdminNotices Stores admin notices.
$aAdminPages Used admin pages.
$aOptionKeys The plugin option key used for the options table.
$aPostTypes Used post types.
$aRequirements Requirements.
$aTaxonomies Used taxonomies.
$sDirPath
$sFilePath These properties will be defined in the setUp() method.

Public Methods

Method Description
_replyToSetAdminNotice ( ) : void Displays the set admin notices.
getInfo ( ) : array Returns the information of this class.
getPluginURL ( $sRelativePath = '' ) : string Returns the URL with the given relative path to the plugin path.
setAdminNotice ( $sMessage, $sClassAttribute = 'error' ) : void Sets an admin notice.
setUp ( $sPluginFilePath ) : void Sets up static properties.

Method Details

_replyToSetAdminNotice() public static method

Displays the set admin notices.
Since: 3.5.0
public static _replyToSetAdminNotice ( ) : void
return void

getInfo() public static method

Returns the information of this class.
Since: 3.5.0
public static getInfo ( ) : array
return array

getPluginURL() public static method

Example

AdminPageFrameworkLoader_Registry::getPluginURL( 'asset/css/meta_box.css' );
Since: 3.5.0
public static getPluginURL ( $sRelativePath = '' ) : string
return string

setAdminNotice() public static method

Sets an admin notice.
Since: 3.5.0
public static setAdminNotice ( $sMessage, $sClassAttribute = 'error' ) : void
return void

setUp() public static method

Sets up static properties.
public static setUp ( $sPluginFilePath ) : void
return void

Property Details

$_aAdminNotices public_oe static_oe property

Stores admin notices.
Since: 3.5.0
public static $_aAdminNotices

$aAdminPages public_oe static_oe property

Used admin pages.
public static $aAdminPages

$aOptionKeys public_oe static_oe property

The plugin option key used for the options table.
public static $aOptionKeys

$aPostTypes public_oe static_oe property

Used post types.
public static $aPostTypes

$aRequirements public_oe static_oe property

Requirements.
public static $aRequirements

$aTaxonomies public_oe static_oe property

Used taxonomies.
public static $aTaxonomies

$sDirPath public_oe static_oe property

public static $sDirPath

$sFilePath public_oe static_oe property

These properties will be defined in the setUp() method.
public static $sFilePath