![]() |
WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
| __construct ($id, $title, $screen=null, $context=WPDKMetaBoxContext::ADVANCED, $priority=WPDKMetaBoxPriority::NORMAL, $callback_args=null) | |
| Construct. More... | |
Public Member Functions inherited from WPDKView | |
| __construct ($id, $class= '') | |
| Construct. More... | |
| html () | |
| Get HTML markup content. More... | |
| draw () | |
| Draw. More... | |
| addSubview ($view) | |
| Add a subview. More... | |
| removeFromSuperview () | |
| Remove this view. More... | |
Public Member Functions inherited from WPDKObject | |
| __className () | |
| Returns the class object. More... | |
| __parentClass () | |
| Returns the class object for the receiver’s superclass. More... | |
| __isClass ($class) | |
| Brief. More... | |
| __isSubclassOfClass ($class) | |
| Return TRUE if the receiving class is a subclass of —or identical to— $class, otherwise FALSE. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WPDKView | |
| static | initWithContent ($id, $class= '', $content= '') |
| Init a WPDKView. More... | |
| static | initWithFrame ($id, $rect) |
Data Fields inherited from WPDKView | |
| $__version = '1.1.2' | |
| Version. More... | |
| $class | |
| Class. More... | |
| $style | |
| Inline style. More... | |
| $content | |
| The content. More... | |
| $data | |
| $id | |
| ID. More... | |
| $subviews | |
| List of sub views. More... | |
| $superview | |
| The superview. More... | |
Protected Attributes inherited from WPDKView | |
| $views | |
| List of views. More... | |
A meta box view
Definition at line 12 of file wpdk-metabox.php.
| __construct | ( | $id, | |
| $title, | |||
$screen = null, |
|||
$context = WPDKMetaBoxContext::ADVANCED, |
|||
$priority = WPDKMetaBoxPriority::NORMAL, |
|||
$callback_args = null |
|||
| ) |
Construct.
Create an instance of WPDKMetaBoxView class
| string | $id | String for use in the 'id' attribute of tags. |
| string | $title | Title of the meta box. |
| string | object | $screen | Optional. The screen on which to show the box (post, page, link). Defaults to current screen. |
| string | $context | Optional. The context within the page where the boxes should show ('normal', 'advanced'). |
| string | $priority | Optional. The priority within the context where the boxes should show ('high', 'low'). * |
| mixed | $callback_args | Optional. Callable args. |
Definition at line 28 of file wpdk-metabox.php.