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

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

Detailed Description

This is a sub class of standard WPDKView specified design for jQuery tabs

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2012-11-28
Version
0.8.1

Definition at line 87 of file wpdk-jquery.php.

Constructor & Destructor Documentation

__construct (   $id,
  $tabs = array() 
)

Construct.

Create an instance of WPDKjQueryTabsView class

Parameters
string$idThe view ID
array$tabsOptional. A tabs list. Instances of WPDKjQueryTab class
Returns
WPDKjQueryTabsView

Definition at line 117 of file wpdk-jquery.php.

Member Function Documentation

addTab (   $tab)

Add a single tab content.

Add a single tab to the tabs list

Parameters
WPDKjQueryTab$tabAn instance of WPDKjQueryTab

Definition at line 131 of file wpdk-jquery.php.

draw ( )

Draw view content.

Display

Definition at line 162 of file wpdk-jquery.php.

removeTab (   $tab)

Remove a tab.

Remove a tab from tabs list

Parameters
string | WPDKjQueryTab$tabAn instance of WPDkjQueryTab class or its ID

Definition at line 145 of file wpdk-jquery.php.

Field Documentation

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.


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