WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKMetaBoxView Class Reference
Inheritance diagram for WPDKMetaBoxView:
WPDKView WPDKObject

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...
 

Detailed Description

A meta box view

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-02-28
Version
1.0.0

Definition at line 12 of file wpdk-metabox.php.

Constructor & Destructor Documentation

__construct (   $id,
  $title,
  $screen = null,
  $context = WPDKMetaBoxContext::ADVANCED,
  $priority = WPDKMetaBoxPriority::NORMAL,
  $callback_args = null 
)

Construct.

Create an instance of WPDKMetaBoxView class

Parameters
string$idString for use in the 'id' attribute of tags.
string$titleTitle of the meta box.
string | object$screenOptional. The screen on which to show the box (post, page, link). Defaults to current screen.
string$contextOptional. The context within the page where the boxes should show ('normal', 'advanced').
string$priorityOptional. The priority within the context where the boxes should show ('high', 'low'). *
mixed$callback_argsOptional. Callable args.
Returns
WPDKMetaBoxView

Definition at line 28 of file wpdk-metabox.php.


The documentation for this class was generated from the following file: