WPDK
1.5.0
WordPress Development Kit
|
Public Member Functions | |
__construct ($id, $tabs=array()) | |
Construct. More... | |
addTab ($tab) | |
Add a single tab content. More... | |
removeTab ($tab) | |
Remove a tab. More... | |
draw () | |
Draw view content. 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... | |
Data Fields | |
$tabs | |
Array of tabs. More... | |
$border | |
Border. More... | |
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... | |
Data Fields inherited from WPDKObject | |
$__version = '1.0.0' | |
The version number assigned to the class. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from WPDKView | |
static | initWithContent ($id, $class= '', $content= '') |
Init a WPDKView. More... | |
static | initWithFrame ($id, $rect) |
Protected Attributes inherited from WPDKView | |
$views | |
List of views. More... | |
This is a sub class of standard WPDKView specified design for jQuery tabs
Definition at line 87 of file wpdk-jquery.php.
__construct | ( | $id, | |
$tabs = array() |
|||
) |
Construct.
Create an instance of WPDKjQueryTabsView class
string | $id | The view ID |
array | $tabs | Optional. A tabs list. Instances of WPDKjQueryTab class |
Definition at line 117 of file wpdk-jquery.php.
addTab | ( | $tab | ) |
Add a single tab content.
Add a single tab to the tabs list
WPDKjQueryTab | $tab | An instance of WPDKjQueryTab |
Definition at line 131 of file wpdk-jquery.php.
draw | ( | ) |
removeTab | ( | $tab | ) |
Remove a tab.
Remove a tab from tabs list
string | WPDKjQueryTab | $tab | An instance of WPDkjQueryTab class or its ID |
Definition at line 145 of file wpdk-jquery.php.
bool $border |
Border.
Set to true to display the border. Default is true
Definition at line 105 of file wpdk-jquery.php.
array $tabs |
Array of tabs.
A key value pairs array tabs list, whew value is an instance of WPDKjQueryTab
Definition at line 96 of file wpdk-jquery.php.