Admin Page Framework Documentation
  • Package
  • Class
  • Tree

Packages

  • AdminPageFramework
    • FieldType
    • MetaBox
    • NetworkAdmin
      • Page
    • Page
    • PageMetaBox
    • PostType
    • TaxonomyField
  • None

Classes

  • AdminPageFramework_MetaBox_Page
  • AdminPageFramework_MetaBox_Page_Controller
  • AdminPageFramework_MetaBox_Page_Model
  • AdminPageFramework_MetaBox_Page_Router
  • AdminPageFramework_MetaBox_Page_View

Class AdminPageFramework_MetaBox_Page_Controller

Provides controller methods for creating meta boxes in pages added by the framework.

AdminPageFramework_Factory_Router
Extended by AdminPageFramework_Factory_Model
Extended by AdminPageFramework_Factory_View
Extended by AdminPageFramework_Factory_Controller
Extended by AdminPageFramework_Factory
Extended by AdminPageFramework_MetaBox_Base
Extended by AdminPageFramework_MetaBox_Page_Router
Extended by AdminPageFramework_MetaBox_Page_Model
Extended by AdminPageFramework_MetaBox_Page_View
Extended by AdminPageFramework_MetaBox_Page_Controller

Direct known subclasses

AdminPageFramework_MetaBox_Page

Abstract
Package: AdminPageFramework\PageMetaBox
Since: 3.0.4
Located at factory/AdminPageFramework_MetaBox_Page/AdminPageFramework_MetaBox_Page_Controller.php

Methods summary

public
# enqueueStyles( mixed $aSRCs, mixed $sPageSlug = '', mixed $sTabSlug = '', mixed $aCustomArgs = array() )

Enqueues styles by page slug and tab slug.

Enqueues styles by page slug and tab slug.

Since

3.0.0

Overrides

AdminPageFramework_Factory_Controller::enqueueStyles
public string
# enqueueStyle( string $sSRC, string $sPageSlug = '', string $sTabSlug = '', array $aCustomArgs = array() )

Enqueues a style by page slug and tab slug.

Enqueues a style by page slug and tab slug.

Parameters

$sSRC
string
The URL of the stylesheet to enqueue, the absolute file path, or the relative path to the root directory of WordPress. Example: '/css/mystyle.css'.
$sPageSlug
string
(optional) The page slug that the stylesheet should be added to. If not set, it applies to all the pages created by the framework.
$sTabSlug
string
(optional) The tab slug that the stylesheet should be added to. If not set, it applies to all the in-page tabs in the page.
$aCustomArgs
array
(optional) The argument array for more advanced parameters.

Returns

string
The script handle ID. If the passed url is not a valid url string, an empty string will be returned.

Since

3.0.0

See

http://codex.wordpress.org/Function_Reference/wp_enqueue_style

Overrides

AdminPageFramework_Factory_Controller::enqueueStyle
public
# enqueueScripts( mixed $aSRCs, mixed $sPageSlug = '', mixed $sTabSlug = '', mixed $aCustomArgs = array() )

Enqueues scripts by page slug and tab slug.

Enqueues scripts by page slug and tab slug.

Since

2.1.5

Overrides

AdminPageFramework_Factory_Controller::enqueueScripts
public string
# enqueueScript( string $sSRC, string $sPageSlug = '', string $sTabSlug = '', array $aCustomArgs = array() )

Enqueues a script by page slug and tab slug.

Enqueues a script by page slug and tab slug.

Parameters

$sSRC
string
The URL of the stylesheet to enqueue, the absolute file path, or the relative path to the root directory of WordPress. Example: '/js/myscript.js'.
$sPageSlug
string
(optional) The page slug that the script should be added to. If not set, it applies to all the pages created by the framework.
$sTabSlug
string
(optional) The tab slug that the script should be added to. If not set, it applies to all the in-page tabs in the page.
$aCustomArgs
array
(optional) The argument array for more advanced parameters.

Returns

string
The script handle ID. If the passed url is not a valid url string, an empty string will be returned.

Since

3.0.0

See

http://codex.wordpress.org/Function_Reference/wp_enqueue_script

Overrides

AdminPageFramework_Factory_Controller::enqueueScript

Methods inherited from AdminPageFramework_MetaBox_Page_Model

__construct(), _replyToFilterPageOptions()

Methods inherited from AdminPageFramework_MetaBox_Page_Router

_isInstantiatable()

Methods inherited from AdminPageFramework_MetaBox_Base

_getInputArray(), _getSavedMetaArray(), _replyToAddMetaBox(), _replyToDetermineToLoad(), _replyToGetSectionHeaderOutput(), _replyToPrintMetaBoxContents(), _replyToRegisterFormElements(), _replyToSaveMetaBoxFields(), _setOptionArray()

Methods inherited from AdminPageFramework_Factory_Controller

addHelpText(), addSettingField(), addSettingFields(), addSettingSection(), addSettingSections(), hasSettingNotice(), setFieldErrors(), setSettingNotice(), setUp(), start()

Methods inherited from AdminPageFramework_Factory_View

_replyToGetFieldOutput(), _replyToPrintSettingNotice()

Methods inherited from AdminPageFramework_Factory_Model

_getFieldErrors(), _isValidationErrors(), _loadDefaultFieldTypeDefinitions(), _registerFields(), _replyToDeleteFieldErrors(), _replyToSaveFieldErrors(), _replyToSaveNotices(), _setUp()

Methods inherited from AdminPageFramework_Factory_Router

__call(), __get(), _getFormInstance(), _getHeadTagInstance(), _getHelpPaneInstance(), _getLinkInstancce(), _getPageLoadInfoInstance(), _isInThePage(), _replyToLoadComponents()

Magic methods summary

Properties summary

Properties inherited from AdminPageFramework_MetaBox_Base

$_sFieldsType, $_sTargetSectionTabSlug

Properties inherited from AdminPageFramework_Factory_Router

$oProp

Admin Page Framework Documentation API documentation generated by ApiGen 2.8.0